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.006993/0.006999, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.001518/0.001518, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 62.03 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 80.91 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002446/0.1704, allocations: 1.276 MB / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.1741, allocations: 2.933 MB / 0.6687 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.1742, allocations: 0 / 0.6687 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.1742, allocations: 0 / 0.6687 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.1743, allocations: 7.922 kB / 0.6687 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1749, allocations: 103.5 kB / 0.6688 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.175, allocations: 35.92 kB / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.1751, allocations: 3.984 kB / 0.6689 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.1757, allocations: 163.5 kB / 0.669 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.1757, allocations: 11.97 kB / 0.669 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1757, allocations: 4 kB / 0.669 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.1759, allocations: 67.81 kB / 0.6691 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.176, allocations: 11.94 kB / 0.6691 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.176, allocations: 15.91 kB / 0.6691 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1762, allocations: 59.88 kB / 0.6692 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1762, allocations: 4 kB / 0.6692 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1763, allocations: 0 / 0.6692 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.1763, allocations: 0 / 0.6692 GB, free: 1.105 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.0004827/0.1768, allocations: 347.4 kB / 0.6695 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1768, allocations: 13.05 kB / 0.6695 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1769, allocations: 8.891 kB / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.177, allocations: 164.4 kB / 0.6697 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.177, allocations: 8.312 kB / 0.6697 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.1771, allocations: 16.36 kB / 0.6697 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1772, allocations: 53.8 kB / 0.6698 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1772, allocations: 0 / 0.6698 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1772, allocations: 4 kB / 0.6698 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1773, allocations: 0 / 0.6698 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.1773, allocations: 19.97 kB / 0.6698 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.1776, allocations: 161.7 kB / 0.6699 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1777, allocations: 50.5 kB / 0.67 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.1777, allocations: 24.84 kB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008759/0.1786, allocations: 0.5948 MB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1786, allocations: 34.56 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1786, allocations: 0 / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.00067/0.1793, allocations: 302.2 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1794, allocations: 55.41 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.1795, allocations: 97.84 kB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1795, allocations: 29.7 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1796, allocations: 84.09 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1796, allocations: 31.72 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1796, allocations: 29.67 kB / 0.6712 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1798, allocations: 318.8 kB / 0.6715 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.1798, allocations: 16 kB / 0.6715 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1799, allocations: 57.08 kB / 0.6716 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.301e-05/0.18, allocations: 77.08 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.18, allocations: 3.938 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001314/0.1801, allocations: 89.55 kB / 0.6718 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.1802, allocations: 8 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1802, allocations: 0 / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1802, allocations: 0 / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.1803, allocations: 24.66 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1803, allocations: 128 / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1803, allocations: 19.92 kB / 0.6718 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1803, allocations: 4 kB / 0.6718 GB, free: 13.99 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 8.225e-05/0.1804, allocations: 109.8 kB / 0.6719 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1805, allocations: 11.95 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.1805, allocations: 11.95 kB / 0.6719 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1805, allocations: 4 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1805, allocations: 3.938 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1805, allocations: 3.938 kB / 0.672 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1808, allocations: 177.7 kB / 0.6721 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1808, allocations: 0 / 0.6721 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.1809, allocations: 19.98 kB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1809, allocations: 0 / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1809, allocations: 0 / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1809, allocations: 4 kB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1809, allocations: 0 / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1811, allocations: 171.5 kB / 0.6723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1812, allocations: 85.06 kB / 0.6724 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1812, allocations: 4 kB / 0.6724 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1814, allocations: 11.97 kB / 0.6724 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.1814, allocations: 4 kB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1814, allocations: 7.938 kB / 0.6724 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.1814, allocations: 75.28 kB / 0.6725 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1814, allocations: 0 / 0.6725 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002393/0.1817, allocations: 16 kB / 0.6725 GB, free: 13.2 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.0001524/0.1818, allocations: 104.6 kB / 0.6726 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.182, allocations: 51.84 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.182, allocations: 0 / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.182, allocations: 19.94 kB / 0.6727 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1823, allocations: 6.031 kB / 0.6727 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1829, allocations: 318.4 kB / 0.673 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1833, allocations: 0.6924 MB / 0.6737 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.631e-05/0.1833, allocations: 7.922 kB / 0.6737 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.1834, allocations: 11.44 kB / 0.6737 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1834, allocations: 0 / 0.6737 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003136/0.1865, allocations: 0.6295 MB / 0.6743 GB, free: 11.3 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)