Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.934/2.934, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.831/1.831, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005795, allocations: 12 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2872, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 1.19/1.477, allocations: 198.8 MB / 0.7814 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04656/1.523, allocations: 14.76 MB / 0.7958 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005684/1.529, allocations: 67.5 kB / 0.7959 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006982/1.536, allocations: 1.065 MB / 0.7969 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0248/1.561, allocations: 3.511 MB / 0.8003 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01179/1.573, allocations: 1.738 MB / 0.802 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01077/1.584, allocations: 3.062 MB / 0.805 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/1.589, allocations: 1.303 MB / 0.8063 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009/1.598, allocations: 1.811 MB / 0.8081 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/1.602, allocations: 1.105 MB / 0.8092 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/1.603, allocations: 84 kB / 0.8092 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008259/1.612, allocations: 1.256 MB / 0.8105 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002467/1.614, allocations: 0.6115 MB / 0.8111 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/1.617, allocations: 440.6 kB / 0.8115 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008574/1.625, allocations: 2.277 MB / 0.8137 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.625, allocations: 0 / 0.8137 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.175e-05/1.625, allocations: 0 / 0.8137 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002124/1.626, allocations: 7.938 kB / 0.8137 GB, free: 4.551 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.01073/1.636, allocations: 2.087 MB / 0.8158 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/1.636, allocations: 8.031 kB / 0.8158 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/1.638, allocations: 215.1 kB / 0.816 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006876/1.645, allocations: 0.5086 MB / 0.8165 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/1.651, allocations: 1.212 MB / 0.8176 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/1.651, allocations: 186.2 kB / 0.8178 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008327/1.652, allocations: 148 kB / 0.818 GB, free: 68 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/1.66, allocations: 1.733 MB / 0.8197 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.91e-05/1.66, allocations: 0 / 0.8197 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/1.661, allocations: 64 kB / 0.8197 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/1.661, allocations: 58.69 kB / 0.8198 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006235/1.667, allocations: 1.381 MB / 0.8211 GB, free: 12.75 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/1.69, allocations: 8.185 MB / 0.8291 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/1.694, allocations: 0.9192 MB / 0.83 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/1.695, allocations: 158.3 kB / 0.8302 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.309e-05/1.695, allocations: 43.56 kB / 0.8302 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 6.332e-06/1.695, allocations: 0 / 0.8302 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.01582/1.711, allocations: 3.153 MB / 0.8333 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/1.711, allocations: 64.41 kB / 0.8333 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.715, allocations: 1.246 MB / 0.8346 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003843/1.715, allocations: 49.7 kB / 0.8346 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.717, allocations: 0.8172 MB / 0.8354 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.718, allocations: 366.6 kB / 0.8358 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.718, allocations: 28 kB / 0.8358 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002936/1.718, allocations: 349.9 kB / 0.8361 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/1.72, allocations: 438.4 kB / 0.8365 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/1.722, allocations: 0.8219 MB / 0.8373 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/1.724, allocations: 0.5534 MB / 0.8379 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/1.725, allocations: 4 kB / 0.8379 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005773/1.73, allocations: 1.405 MB / 0.8393 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.002998/1.733, allocations: 3.662 MB / 0.8428 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.428e-05/1.733, allocations: 8 kB / 0.8428 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.846e-05/1.734, allocations: 16 kB / 0.8429 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/1.736, allocations: 286.1 kB / 0.8431 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.695e-05/1.736, allocations: 27.86 kB / 0.8432 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003898/1.74, allocations: 169.8 kB / 0.8433 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.741, allocations: 48 kB / 0.8434 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.741, allocations: 7.938 kB / 0.8434 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004392/1.745, allocations: 1.23 MB / 0.8446 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/1.745, allocations: 11.98 kB / 0.8446 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.361e-05/1.745, allocations: 23.95 kB / 0.8446 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.747, allocations: 271.6 kB / 0.8449 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.777e-05/1.747, allocations: 19.94 kB / 0.8449 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.75, allocations: 163.6 kB / 0.845 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/1.751, allocations: 55.98 kB / 0.8451 GB, free: 2.852 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00165/1.752, allocations: 0.4967 MB / 0.8456 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/1.753, allocations: 166 kB / 0.8457 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.757, allocations: 1.174 MB / 0.8469 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.758, allocations: 19.2 kB / 0.8469 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.758, allocations: 0 / 0.8469 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003147/1.761, allocations: 1.092 MB / 0.848 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.772, allocations: 2.79 MB / 0.8507 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/1.772, allocations: 0 / 0.8507 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.774, allocations: 251.7 kB / 0.8509 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.112e-05/1.774, allocations: 16.2 kB / 0.8509 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.775, allocations: 27.98 kB / 0.851 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-05/1.775, allocations: 8 kB / 0.851 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.775, allocations: 0 / 0.851 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/1.781, allocations: 1.937 MB / 0.8529 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.783, allocations: 339 kB / 0.8532 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006848/1.783, allocations: 24 kB / 0.8532 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.786, allocations: 139.7 kB / 0.8533 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.786, allocations: 65.06 kB / 0.8534 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.787, allocations: 44 kB / 0.8535 GB, free: 10.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003086/1.79, allocations: 0.8347 MB / 0.8543 GB, free: 9.195 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.61e-07/1.79, allocations: 0 / 0.8543 GB, free: 9.195 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005637/1.795, allocations: 0.7695 MB / 0.855 GB, free: 8.426 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007599/1.803, allocations: 3.105 MB / 0.8581 GB, free: 5.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005559/1.809, allocations: 1.736 MB / 0.8597 GB, free: 3.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.121e-05/1.809, allocations: 4 kB / 0.8598 GB, free: 3.516 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.81, allocations: 0.5253 MB / 0.8603 GB, free: 2.996 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008499/1.819, allocations: 0.949 MB / 0.8612 GB, free: 2.066 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5863/2.405, allocations: 16.29 MB / 0.8771 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/2.407, allocations: 1.479 MB / 0.8785 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004815/2.412, allocations: 0.5506 MB / 0.8791 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/2.414, allocations: 0.683 MB / 0.8797 GB, free: 206.1 MB / 0.67 GB Notification: Performance of SimCode: time 5.44e-06/2.414, allocations: 0 / 0.8797 GB, free: 206.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2515/2.666, allocations: 44.47 MB / 0.9232 GB, free: 195.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003361/2.666, allocations: 219.4 kB / 0.9234 GB, free: 195.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/9.096, allocations: 0 / 0.9234 GB, free: 195.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: