Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001323/0.001323, allocations: 103.2 kB / 16.41 MB, free: 6.496 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.001303/0.001303, allocations: 191 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.339/1.339, 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/package.mo): time 0.7844/0.7844, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 61.81 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1729, allocations: 80.2 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002595/0.1756, allocations: 1.265 MB / 0.6615 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1797, allocations: 2.941 MB / 0.6644 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.1798, allocations: 0 / 0.6644 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.1798, allocations: 4 kB / 0.6644 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.1799, allocations: 7.922 kB / 0.6644 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.1805, allocations: 99.48 kB / 0.6645 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.1806, allocations: 31.92 kB / 0.6645 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1807, allocations: 3.984 kB / 0.6645 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.1813, allocations: 167.4 kB / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.1814, allocations: 15.97 kB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1814, allocations: 8 kB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.1816, allocations: 59.88 kB / 0.6648 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.1816, allocations: 11.94 kB / 0.6648 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.1817, allocations: 19.91 kB / 0.6648 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1819, allocations: 55.88 kB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1819, allocations: 4 kB / 0.6649 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.2e-06/0.1819, allocations: 0 / 0.6649 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1819, allocations: 3.938 kB / 0.6649 GB, free: 5.602 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.0004614/0.1824, allocations: 355.4 kB / 0.6652 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1824, allocations: 8.031 kB / 0.6652 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.1825, allocations: 4.938 kB / 0.6652 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1826, allocations: 164.3 kB / 0.6654 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1826, allocations: 8.375 kB / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1826, allocations: 384 / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1828, allocations: 57.8 kB / 0.6654 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1828, allocations: 0 / 0.6654 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1828, allocations: 4 kB / 0.6654 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1828, allocations: 0 / 0.6654 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.1829, allocations: 19.98 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1831, allocations: 165.7 kB / 0.6656 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.1832, allocations: 50.5 kB / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.1833, allocations: 20.84 kB / 0.6657 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.1841, allocations: 0.5909 MB / 0.6663 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1841, allocations: 38.56 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1841, allocations: 0 / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006352/0.1847, allocations: 294.2 kB / 0.6666 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1848, allocations: 59.34 kB / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1849, allocations: 101.8 kB / 0.6667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.185, allocations: 25.7 kB / 0.6668 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.185, allocations: 88.05 kB / 0.6668 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.185, allocations: 31.55 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1851, allocations: 25.72 kB / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1852, allocations: 318.8 kB / 0.6672 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.1853, allocations: 15.94 kB / 0.6672 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.1853, allocations: 53.14 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1855, allocations: 81.25 kB / 0.6674 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1855, allocations: 3.938 kB / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001505/0.1856, allocations: 93.61 kB / 0.6674 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1856, allocations: 4 kB / 0.6674 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1857, allocations: 4 kB / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1857, allocations: 0 / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.1858, allocations: 27.94 kB / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1858, allocations: 448 / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1858, allocations: 7.938 kB / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1858, allocations: 7.984 kB / 0.6675 GB, free: 2.504 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 9.472e-05/0.1859, allocations: 114.7 kB / 0.6676 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.186, allocations: 11.97 kB / 0.6676 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.186, allocations: 11.97 kB / 0.6676 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.186, allocations: 0 / 0.6676 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.186, allocations: 4 kB / 0.6676 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.186, allocations: 3.938 kB / 0.6676 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1863, allocations: 177.7 kB / 0.6678 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1863, allocations: 0 / 0.6678 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1864, allocations: 15.98 kB / 0.6678 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1864, allocations: 0 / 0.6678 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1864, allocations: 0 / 0.6678 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1864, allocations: 4 kB / 0.6678 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1864, allocations: 4 kB / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1866, allocations: 171.4 kB / 0.668 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1867, allocations: 85.02 kB / 0.6681 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1867, allocations: 0 / 0.6681 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1868, allocations: 8.031 kB / 0.6681 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1869, allocations: 4 kB / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1869, allocations: 11.88 kB / 0.6681 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.1869, allocations: 79.28 kB / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1869, allocations: 0 / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002427/0.1872, allocations: 16 kB / 0.6682 GB, free: 1.699 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.000132/0.1873, allocations: 99.23 kB / 0.6683 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1875, allocations: 47.91 kB / 0.6683 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1875, allocations: 0 / 0.6683 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.1875, allocations: 24.19 kB / 0.6683 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1878, allocations: 4 kB / 0.6684 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.1884, allocations: 356.2 kB / 0.6687 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1887, allocations: 0.6885 MB / 0.6694 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1888, allocations: 15.38 kB / 0.6694 GB, free: 416 kB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1888, allocations: 0 / 0.6694 GB, free: 416 kB / 0.4981 GB Notification: Performance of Templates: time 0.002339/0.1911, allocations: 0.7833 MB / 0.6701 GB, free: 15.62 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)