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.001197/0.001197, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001205/0.001205, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9012/0.9012, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.33 kB / 0.5862 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00278/0.1564, allocations: 1.254 MB / 0.6665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.1605, allocations: 2.944 MB / 0.6694 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.1606, allocations: 0 / 0.6694 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.1607, allocations: 0 / 0.6694 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.1607, allocations: 19.91 kB / 0.6694 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.1613, allocations: 95.55 kB / 0.6695 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1614, allocations: 31.86 kB / 0.6695 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.1615, allocations: 7.984 kB / 0.6695 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.1621, allocations: 159.5 kB / 0.6697 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.1621, allocations: 15.98 kB / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1621, allocations: 0 / 0.6697 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1624, allocations: 71.86 kB / 0.6697 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1624, allocations: 7.938 kB / 0.6698 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1624, allocations: 19.92 kB / 0.6698 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1626, allocations: 59.86 kB / 0.6698 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1627, allocations: 0 / 0.6698 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1627, allocations: 0 / 0.6698 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1627, allocations: 0 / 0.6698 GB, free: 1.121 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.0005156/0.1632, allocations: 347.4 kB / 0.6702 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1632, allocations: 17.05 kB / 0.6702 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.1633, allocations: 8.844 kB / 0.6702 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1634, allocations: 164.4 kB / 0.6703 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1635, allocations: 4.375 kB / 0.6703 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1635, allocations: 8.312 kB / 0.6704 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1636, allocations: 57.8 kB / 0.6704 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1637, allocations: 0 / 0.6704 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1637, allocations: 0 / 0.6704 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1637, allocations: 4 kB / 0.6704 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.1637, allocations: 19.97 kB / 0.6704 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.164, allocations: 169.6 kB / 0.6706 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.1641, allocations: 50.56 kB / 0.6706 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.1641, allocations: 16.84 kB / 0.6707 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/0.1649, allocations: 0.5907 MB / 0.6712 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1649, allocations: 38.56 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1649, allocations: 0 / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006288/0.1656, allocations: 302.5 kB / 0.6716 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1656, allocations: 51.41 kB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.1657, allocations: 101.8 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1657, allocations: 29.7 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.1658, allocations: 84.05 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1658, allocations: 35.55 kB / 0.6719 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.1659, allocations: 25.72 kB / 0.6719 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.166, allocations: 322.8 kB / 0.6722 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.1661, allocations: 8 kB / 0.6722 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.1661, allocations: 57.08 kB / 0.6722 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1663, allocations: 77.64 kB / 0.6723 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1663, allocations: 0 / 0.6723 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001469/0.1665, allocations: 101.5 kB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1665, allocations: 4.125 kB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1665, allocations: 4 kB / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1665, allocations: 8 kB / 0.6724 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.1666, allocations: 16 kB / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1666, allocations: 4 kB / 0.6725 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.1667, allocations: 3.938 kB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1667, allocations: 7.984 kB / 0.6725 GB, free: 14.02 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 9.018e-05/0.1668, allocations: 117.8 kB / 0.6726 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.1668, allocations: 7.906 kB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.1669, allocations: 11.97 kB / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1669, allocations: 0 / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1669, allocations: 0 / 0.6726 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1669, allocations: 3.938 kB / 0.6726 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1671, allocations: 173.7 kB / 0.6728 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1671, allocations: 0 / 0.6728 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.1672, allocations: 19.98 kB / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1673, allocations: 3.938 kB / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1673, allocations: 0 / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1673, allocations: 0 / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1673, allocations: 0 / 0.6728 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1675, allocations: 183.4 kB / 0.673 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.1676, allocations: 81.02 kB / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1676, allocations: 8 kB / 0.673 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1677, allocations: 48 / 0.673 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1677, allocations: 7.984 kB / 0.6731 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1677, allocations: 3.938 kB / 0.6731 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.1678, allocations: 83.28 kB / 0.6731 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1678, allocations: 4 kB / 0.6731 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002433/0.168, allocations: 8 kB / 0.6731 GB, free: 13.22 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.0001506/0.1682, allocations: 108.6 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1683, allocations: 43.86 kB / 0.6733 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1683, allocations: 0 / 0.6733 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.1684, allocations: 19.94 kB / 0.6733 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1687, allocations: 4.25 kB / 0.6733 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.1694, allocations: 360.6 kB / 0.6737 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1697, allocations: 0.6846 MB / 0.6743 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1697, allocations: 11.44 kB / 0.6743 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1697, allocations: 0 / 0.6743 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.002281/0.172, allocations: 0.781 MB / 0.6751 GB, free: 11.15 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)