Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001426/0.001426, allocations: 110.4 kB / 16.41 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.001661/0.001661, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7615/0.7615, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 73.5 kB / 0.582 GB, free: 23.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 80.2 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006618/0.1581, allocations: 4.421 MB / 0.6647 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.161, allocations: 2.698 MB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.1612, allocations: 4 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1614, allocations: 43.67 kB / 0.6674 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.1618, allocations: 103.3 kB / 0.6675 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1631, allocations: 494.8 kB / 0.6679 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.1634, allocations: 235.9 kB / 0.6682 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.1635, allocations: 13.56 kB / 0.6682 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1645, allocations: 414.8 kB / 0.6686 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1647, allocations: 83.67 kB / 0.6686 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1647, allocations: 11.94 kB / 0.6687 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1658, allocations: 0.4912 MB / 0.6691 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.1659, allocations: 35.89 kB / 0.6692 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.166, allocations: 83.66 kB / 0.6693 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.1666, allocations: 347.1 kB / 0.6696 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1666, allocations: 0 / 0.6696 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1666, allocations: 0 / 0.6696 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1666, allocations: 4 kB / 0.6696 GB, free: 0.7734 MB / 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.0007693/0.1674, allocations: 0.4992 MB / 0.6701 GB, free: 228 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1675, allocations: 11.97 kB / 0.6701 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1676, allocations: 24.73 kB / 0.6701 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1679, allocations: 212.1 kB / 0.6703 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1679, allocations: 12.7 kB / 0.6703 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.168, allocations: 16.38 kB / 0.6703 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.1684, allocations: 249 kB / 0.6706 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1684, allocations: 0 / 0.6706 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1685, allocations: 12 kB / 0.6706 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.1685, allocations: 8 kB / 0.6706 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.169, allocations: 431.5 kB / 0.671 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1701, allocations: 0.9998 MB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1704, allocations: 163 kB / 0.6721 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1705, allocations: 68.81 kB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.1721, allocations: 1.825 MB / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1721, allocations: 34.56 kB / 0.674 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.1721, allocations: 0 / 0.674 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003808/0.1725, allocations: 149.3 kB / 0.6742 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1726, allocations: 63.34 kB / 0.6742 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.1727, allocations: 171.2 kB / 0.6744 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1727, allocations: 29.7 kB / 0.6744 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1728, allocations: 143.8 kB / 0.6746 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.1729, allocations: 47.36 kB / 0.6746 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.1729, allocations: 53.61 kB / 0.6746 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.173, allocations: 326.8 kB / 0.675 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.1731, allocations: 35.97 kB / 0.675 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1733, allocations: 146.2 kB / 0.6751 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1735, allocations: 207.7 kB / 0.6753 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1735, allocations: 0 / 0.6753 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003124/0.1738, allocations: 213.3 kB / 0.6755 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1738, allocations: 4 kB / 0.6755 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1739, allocations: 4 kB / 0.6755 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1739, allocations: 4 kB / 0.6755 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1741, allocations: 63.84 kB / 0.6756 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1741, allocations: 7.938 kB / 0.6756 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1742, allocations: 23.75 kB / 0.6756 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1742, allocations: 16 kB / 0.6757 GB, free: 9.812 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.0001498/0.1744, allocations: 137.9 kB / 0.6758 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.1744, allocations: 15.84 kB / 0.6758 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.1747, allocations: 160.9 kB / 0.676 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1748, allocations: 7.938 kB / 0.676 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1748, allocations: 0 / 0.676 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1748, allocations: 0 / 0.676 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.1751, allocations: 213.6 kB / 0.6762 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1751, allocations: 0 / 0.6762 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.1752, allocations: 24 kB / 0.6762 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1752, allocations: 0 / 0.6762 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1752, allocations: 11.98 kB / 0.6762 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1752, allocations: 3.938 kB / 0.6762 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1752, allocations: 0 / 0.6762 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1755, allocations: 219.2 kB / 0.6764 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.1755, allocations: 112.8 kB / 0.6765 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1756, allocations: 0 / 0.6765 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1758, allocations: 23.09 kB / 0.6765 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.1758, allocations: 11.98 kB / 0.6766 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1759, allocations: 15.98 kB / 0.6766 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.945e-05/0.176, allocations: 116.9 kB / 0.6767 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.176, allocations: 7.938 kB / 0.6767 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003825/0.1763, allocations: 72 kB / 0.6768 GB, free: 8.594 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.0003014/0.1767, allocations: 171.1 kB / 0.6769 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1769, allocations: 122 kB / 0.677 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1769, allocations: 4 kB / 0.677 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.177, allocations: 47.91 kB / 0.6771 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1774, allocations: 58.77 kB / 0.6771 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.1784, allocations: 364.6 kB / 0.6775 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1788, allocations: 0.7129 MB / 0.6782 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1788, allocations: 31.42 kB / 0.6782 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1788, allocations: 0 / 0.6782 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of Templates: time 0.0052/0.184, allocations: 3.156 MB / 0.6813 GB, free: 3.906 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)