Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106 kB / 16.41 MB, free: 6.457 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.001044/0.001044, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.86 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1553, allocations: 80.91 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002134/0.1575, allocations: 1.262 MB / 0.6665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1609, allocations: 2.94 MB / 0.6694 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.1609, allocations: 0 / 0.6694 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.161, allocations: 0 / 0.6694 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.161, allocations: 11.92 kB / 0.6694 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.1615, allocations: 99.55 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.1616, allocations: 31.92 kB / 0.6695 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1616, allocations: 7.984 kB / 0.6695 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.1621, allocations: 159.5 kB / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.1621, allocations: 15.97 kB / 0.6697 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1622, allocations: 3.938 kB / 0.6697 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1623, allocations: 67.88 kB / 0.6697 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.1623, allocations: 11.94 kB / 0.6698 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1624, allocations: 19.91 kB / 0.6698 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1625, allocations: 63.86 kB / 0.6698 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1625, allocations: 0 / 0.6698 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1626, allocations: 0 / 0.6698 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1626, allocations: 0 / 0.6698 GB, free: 1.098 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004079/0.163, allocations: 347.4 kB / 0.6702 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.163, allocations: 13.11 kB / 0.6702 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1631, allocations: 8.844 kB / 0.6702 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.1632, allocations: 164.3 kB / 0.6703 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1632, allocations: 4.375 kB / 0.6704 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1632, allocations: 8.375 kB / 0.6704 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1633, allocations: 53.8 kB / 0.6704 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1633, allocations: 0 / 0.6704 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1634, allocations: 7.938 kB / 0.6704 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1634, allocations: 3.984 kB / 0.6704 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.1634, allocations: 19.97 kB / 0.6704 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.1636, allocations: 165.7 kB / 0.6706 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.1637, allocations: 50.5 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.1637, allocations: 20.84 kB / 0.6707 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/0.1644, allocations: 0.5909 MB / 0.6712 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1644, allocations: 38.56 kB / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1645, allocations: 0 / 0.6713 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005394/0.165, allocations: 298.2 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.165, allocations: 55.34 kB / 0.6716 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.1651, allocations: 97.84 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1651, allocations: 29.7 kB / 0.6717 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.1652, allocations: 88.05 kB / 0.6718 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1652, allocations: 31.55 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.1653, allocations: 25.72 kB / 0.6719 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1654, allocations: 322.8 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.1654, allocations: 12 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.1655, allocations: 57.08 kB / 0.6723 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.1656, allocations: 73.08 kB / 0.6723 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1656, allocations: 0 / 0.6723 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001286/0.1657, allocations: 89.55 kB / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1657, allocations: 8 kB / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1657, allocations: 4.125 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1658, allocations: 4 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.1658, allocations: 19.94 kB / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1658, allocations: 0 / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1659, allocations: 15.92 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1659, allocations: 4.438 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 7.825e-05/0.166, allocations: 117.8 kB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.166, allocations: 3.906 kB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.1661, allocations: 11.97 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1661, allocations: 4 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1661, allocations: 4 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1661, allocations: 4.219 kB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1663, allocations: 173.7 kB / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1663, allocations: 0 / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.1664, allocations: 19.98 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1664, allocations: 7.984 kB / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1664, allocations: 0 / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1664, allocations: 0 / 0.6728 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1664, allocations: 3.938 kB / 0.6728 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1666, allocations: 179.5 kB / 0.673 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.1667, allocations: 85.02 kB / 0.673 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1667, allocations: 0 / 0.673 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1668, allocations: 8.031 kB / 0.6731 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.1668, allocations: 4 kB / 0.6731 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.1668, allocations: 7.938 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.1669, allocations: 79.28 kB / 0.6731 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.262e-06/0.1669, allocations: 0 / 0.6731 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002337/0.1671, allocations: 19.94 kB / 0.6732 GB, free: 13.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001173/0.1672, allocations: 104.6 kB / 0.6733 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1674, allocations: 43.91 kB / 0.6733 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1674, allocations: 0 / 0.6733 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.1674, allocations: 19.94 kB / 0.6733 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1677, allocations: 4.25 kB / 0.6733 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.1682, allocations: 352.2 kB / 0.6737 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1685, allocations: 0.6846 MB / 0.6743 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1685, allocations: 11.44 kB / 0.6743 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1685, allocations: 0 / 0.6743 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.001958/0.1705, allocations: 0.7927 MB / 0.6751 GB, free: 11.12 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)