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.001588/0.001588, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001752/0.001752, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9604/0.9604, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 63.58 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1585, allocations: 81.03 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002256/0.1608, allocations: 1.304 MB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1642, allocations: 2.916 MB / 0.5886 GB, free: 72 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.1642, allocations: 0 / 0.5886 GB, free: 72 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.1643, allocations: 3.938 kB / 0.5886 GB, free: 68 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.1643, allocations: 0 / 0.5886 GB, free: 68 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1648, allocations: 95.61 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.1648, allocations: 31.91 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.1649, allocations: 11.98 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.1653, allocations: 147.5 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.1653, allocations: 23.91 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1653, allocations: 4 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1655, allocations: 59.83 kB / 0.589 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1655, allocations: 11.97 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1655, allocations: 15.94 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1657, allocations: 68.06 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1657, allocations: 0 / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1657, allocations: 0 / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1657, allocations: 8 kB / 0.5891 GB, free: 15.6 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.0004008/0.1661, allocations: 339.6 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1662, allocations: 8.031 kB / 0.5894 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1662, allocations: 4.938 kB / 0.5894 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1663, allocations: 172.2 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1663, allocations: 4.375 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1664, allocations: 4.375 kB / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1665, allocations: 69.66 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1665, allocations: 4 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1665, allocations: 4 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1665, allocations: 0 / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.1666, allocations: 15.98 kB / 0.5897 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1668, allocations: 161.7 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.1669, allocations: 54.56 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.1669, allocations: 16.86 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/0.1676, allocations: 0.6064 MB / 0.5905 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1676, allocations: 34.56 kB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1676, allocations: 0 / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005419/0.1682, allocations: 294.2 kB / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.1682, allocations: 55.41 kB / 0.5909 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.1683, allocations: 101.8 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1684, allocations: 29.7 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1684, allocations: 87.98 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1684, allocations: 27.64 kB / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1685, allocations: 29.62 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1686, allocations: 318.8 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.1686, allocations: 11.98 kB / 0.5914 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.1687, allocations: 61.08 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9e-05/0.1688, allocations: 65.09 kB / 0.5916 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1688, allocations: 8 kB / 0.5916 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001321/0.169, allocations: 93.48 kB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.169, allocations: 4 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.169, allocations: 4 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.169, allocations: 0 / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.1691, allocations: 27.92 kB / 0.5917 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1691, allocations: 4 kB / 0.5917 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.1691, allocations: 3.938 kB / 0.5917 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1691, allocations: 8.125 kB / 0.5917 GB, free: 12.5 MB / 0.4981 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.975e-05/0.1692, allocations: 113.8 kB / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1693, allocations: 4 kB / 0.5918 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1693, allocations: 11.95 kB / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1693, allocations: 0 / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1693, allocations: 0 / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1693, allocations: 3.938 kB / 0.5918 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1695, allocations: 177.7 kB / 0.592 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1696, allocations: 4 kB / 0.592 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.1696, allocations: 20.38 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1697, allocations: 0 / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1697, allocations: 3.984 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1697, allocations: 4 kB / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1697, allocations: 0 / 0.592 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1699, allocations: 171.4 kB / 0.5922 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1699, allocations: 81.14 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1699, allocations: 4 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.17, allocations: 8.375 kB / 0.5923 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1701, allocations: 7.984 kB / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1701, allocations: 3.938 kB / 0.5923 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.1701, allocations: 83.27 kB / 0.5924 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 0 / 0.5924 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.1704, allocations: 16 kB / 0.5924 GB, free: 11.7 MB / 0.4981 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.0001193/0.1705, allocations: 103.2 kB / 0.5925 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1706, allocations: 51.89 kB / 0.5925 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1706, allocations: 3.938 kB / 0.5925 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.1706, allocations: 19.94 kB / 0.5926 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1709, allocations: 8 kB / 0.5926 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1715, allocations: 334.6 kB / 0.5929 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1717, allocations: 0.6845 MB / 0.5936 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.937e-05/0.1718, allocations: 19.83 kB / 0.5936 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.1718, allocations: 11.44 kB / 0.5936 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1718, allocations: 0 / 0.5936 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.002798/0.1746, allocations: 0.6208 MB / 0.5942 GB, free: 9.793 MB / 0.4981 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)