Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007611/0.007611, allocations: 104.8 kB / 15.74 MB, free: 6.492 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.001784/0.001784, allocations: 191.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9601/0.9601, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.427, allocations: 80.91 MB / 0.6647 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006255/0.4333, allocations: 4.433 MB / 0.669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.4359, allocations: 2.689 MB / 0.6716 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.4361, allocations: 0 / 0.6716 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.4365, allocations: 52.89 kB / 0.6717 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.4369, allocations: 99.41 kB / 0.6718 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.4383, allocations: 0.4937 MB / 0.6723 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.4387, allocations: 237.7 kB / 0.6725 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.4387, allocations: 8.812 kB / 0.6725 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4398, allocations: 425.4 kB / 0.6729 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.44, allocations: 84.39 kB / 0.673 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.44, allocations: 7.594 kB / 0.673 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4412, allocations: 498.3 kB / 0.6735 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.4413, allocations: 33.3 kB / 0.6735 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.4414, allocations: 83.22 kB / 0.6736 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008608/0.4423, allocations: 354.4 kB / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4423, allocations: 1.188 kB / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4423, allocations: 0 / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4423, allocations: 0 / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008293/0.4432, allocations: 0.4962 MB / 0.6744 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4432, allocations: 9.344 kB / 0.6744 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.4434, allocations: 21.62 kB / 0.6744 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4438, allocations: 213.1 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.4438, allocations: 22.98 kB / 0.6747 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4439, allocations: 14.25 kB / 0.6747 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.4443, allocations: 245.1 kB / 0.6749 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4443, allocations: 7.875 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.4443, allocations: 12.14 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.4444, allocations: 13.09 kB / 0.6749 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.4449, allocations: 433.1 kB / 0.6753 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.446, allocations: 1.001 MB / 0.6763 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.4463, allocations: 158 kB / 0.6765 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4465, allocations: 62.34 kB / 0.6765 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.4478, allocations: 1.827 MB / 0.6783 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4479, allocations: 36.94 kB / 0.6784 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.4479, allocations: 0 / 0.6784 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003589/0.4482, allocations: 150.5 kB / 0.6785 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.4483, allocations: 56.81 kB / 0.6786 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4485, allocations: 167.1 kB / 0.6787 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4485, allocations: 32.2 kB / 0.6787 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.4486, allocations: 139 kB / 0.6789 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.4486, allocations: 58.61 kB / 0.6789 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.4487, allocations: 60.97 kB / 0.679 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4488, allocations: 326.5 kB / 0.6793 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.4489, allocations: 37.38 kB / 0.6793 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4491, allocations: 135.2 kB / 0.6795 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.4493, allocations: 206.8 kB / 0.6797 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4493, allocations: 1.031 kB / 0.6797 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003762/0.4497, allocations: 208.3 kB / 0.6799 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4498, allocations: 6.656 kB / 0.6799 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4498, allocations: 5.094 kB / 0.6799 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4498, allocations: 7.75 kB / 0.6799 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.45, allocations: 60.84 kB / 0.6799 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.45, allocations: 9.188 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.4502, allocations: 28.81 kB / 0.68 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.4502, allocations: 14.44 kB / 0.68 GB, free: 10.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.4503, allocations: 132.4 kB / 0.6801 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.4504, allocations: 16.69 kB / 0.6801 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.4507, allocations: 155.5 kB / 0.6803 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4508, allocations: 7.094 kB / 0.6803 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4508, allocations: 0 / 0.6803 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4508, allocations: 0 / 0.6803 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.4511, allocations: 221.5 kB / 0.6805 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4511, allocations: 5.125 kB / 0.6805 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.4512, allocations: 18.66 kB / 0.6805 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4512, allocations: 1.031 kB / 0.6805 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4512, allocations: 14.17 kB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.4512, allocations: 3.938 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4512, allocations: 4.938 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.4515, allocations: 216.6 kB / 0.6808 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4516, allocations: 100.6 kB / 0.6808 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4517, allocations: 10.27 kB / 0.6809 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4519, allocations: 19.7 kB / 0.6809 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.4519, allocations: 12.58 kB / 0.6809 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.452, allocations: 14.7 kB / 0.6809 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001049/0.4521, allocations: 119.1 kB / 0.681 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4521, allocations: 0 / 0.681 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004608/0.4525, allocations: 82.22 kB / 0.6811 GB, free: 9.727 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.4529, allocations: 175.8 kB / 0.6813 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.4532, allocations: 124.1 kB / 0.6814 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4533, allocations: 1.188 kB / 0.6814 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.4533, allocations: 47.88 kB / 0.6814 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.4538, allocations: 52.98 kB / 0.6815 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.4546, allocations: 340.1 kB / 0.6818 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4549, allocations: 0.7116 MB / 0.6825 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.4551, allocations: 52.67 kB / 0.6825 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.4552, allocations: 21.81 kB / 0.6826 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4552, allocations: 0 / 0.6826 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of Templates: time 0.008449/0.4636, allocations: 3.35 MB / 0.6858 GB, free: 6.824 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)