Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009991/0.009991, allocations: 102 kB / 15.73 MB, free: 6.055 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.001916/0.001916, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.457/1.457, allocations: 222.9 MB / 240.3 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.8362/0.8362, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 62.83 kB / 0.5813 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 80.2 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005834/0.1793, allocations: 3.72 MB / 0.6633 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.1795, allocations: 171.4 kB / 0.6634 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.1796, allocations: 0 / 0.6634 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1797, allocations: 0 / 0.6634 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.1798, allocations: 15.92 kB / 0.6635 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1801, allocations: 83.69 kB / 0.6635 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.1802, allocations: 35.91 kB / 0.6636 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.1803, allocations: 0 / 0.6636 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.1803, allocations: 15.98 kB / 0.6636 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.1804, allocations: 19.86 kB / 0.6636 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1804, allocations: 4 kB / 0.6636 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.181, allocations: 183.4 kB / 0.6638 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.181, allocations: 3.984 kB / 0.6638 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.181, allocations: 15.94 kB / 0.6638 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.1812, allocations: 43.89 kB / 0.6638 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1812, allocations: 4 kB / 0.6639 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1812, allocations: 0 / 0.6639 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1812, allocations: 0 / 0.6639 GB, free: 6.066 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000402/0.1816, allocations: 339.5 kB / 0.6642 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1817, allocations: 8.031 kB / 0.6642 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1817, allocations: 0.9375 kB / 0.6642 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1818, allocations: 168.3 kB / 0.6643 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.1819, allocations: 26.27 kB / 0.6644 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1819, allocations: 4.375 kB / 0.6644 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1821, allocations: 61.53 kB / 0.6644 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1821, allocations: 0 / 0.6644 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1821, allocations: 0 / 0.6644 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1821, allocations: 0 / 0.6644 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.1822, allocations: 19.92 kB / 0.6645 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1826, allocations: 330 kB / 0.6648 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.56e-05/0.1827, allocations: 22.58 kB / 0.6648 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.1827, allocations: 8.797 kB / 0.6648 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.683e-05/0.1828, allocations: 89.17 kB / 0.6649 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1829, allocations: 34.5 kB / 0.6649 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1829, allocations: 0 / 0.6649 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.183, allocations: 33.69 kB / 0.6649 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1831, allocations: 55.41 kB / 0.665 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.1832, allocations: 106 kB / 0.6651 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1832, allocations: 25.7 kB / 0.6651 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1833, allocations: 92.03 kB / 0.6652 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-06/0.1833, allocations: 3.906 kB / 0.6652 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1833, allocations: 17.72 kB / 0.6652 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1835, allocations: 314.8 kB / 0.6655 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.1835, allocations: 11.92 kB / 0.6655 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.1835, allocations: 21.72 kB / 0.6656 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.1836, allocations: 13.72 kB / 0.6656 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1836, allocations: 0 / 0.6656 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.102e-05/0.1837, allocations: 53.62 kB / 0.6656 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1837, allocations: 4 kB / 0.6656 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1837, allocations: 0 / 0.6656 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1837, allocations: 0 / 0.6656 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.1838, allocations: 12.05 kB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1838, allocations: 4 kB / 0.6657 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.1838, allocations: 0 / 0.6657 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1838, allocations: 0 / 0.6657 GB, free: 3.949 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.711e-05/0.1839, allocations: 118.7 kB / 0.6658 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.184, allocations: 0 / 0.6658 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1841, allocations: 128.8 kB / 0.6659 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/0.1842, allocations: 184.3 kB / 0.6661 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-05/0.1842, allocations: 188.2 kB / 0.6662 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.024e-05/0.1843, allocations: 176.3 kB / 0.6664 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1845, allocations: 413.1 kB / 0.6668 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-05/0.1846, allocations: 101 kB / 0.6669 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1846, allocations: 101 kB / 0.667 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-05/0.1847, allocations: 192.1 kB / 0.6672 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.1848, allocations: 176.3 kB / 0.6673 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.005e-05/0.1848, allocations: 184.2 kB / 0.6675 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.158e-05/0.1849, allocations: 176.3 kB / 0.6677 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.185, allocations: 315.7 kB / 0.668 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1851, allocations: 178.1 kB / 0.6682 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.1852, allocations: 188.4 kB / 0.6683 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1854, allocations: 113 kB / 0.6684 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.1854, allocations: 176.3 kB / 0.6686 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.1855, allocations: 112.9 kB / 0.6687 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.1855, allocations: 83.27 kB / 0.6688 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1855, allocations: 3.938 kB / 0.6688 GB, free: 500 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.1858, allocations: 16 kB / 0.6688 GB, free: 484 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002529/0.186, allocations: 202.4 kB / 0.669 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.1861, allocations: 4 kB / 0.669 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1861, allocations: 4.125 kB / 0.669 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.1861, allocations: 3.938 kB / 0.669 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1865, allocations: 466.1 kB / 0.6695 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.1868, allocations: 174 kB / 0.6696 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1871, allocations: 0.6807 MB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.1871, allocations: 4 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.1871, allocations: 7.438 kB / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1871, allocations: 4 kB / 0.6703 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.002768/0.1899, allocations: 0.6376 MB / 0.6709 GB, free: 14.26 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)