Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001243, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001238/0.001238, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.83 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1739, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006215/0.1802, allocations: 4.014 MB / 0.6692 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.1805, allocations: 163.5 kB / 0.6694 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.1805, allocations: 0 / 0.6694 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1806, allocations: 3.938 kB / 0.6694 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.1808, allocations: 19.91 kB / 0.6694 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1812, allocations: 71.75 kB / 0.6694 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1813, allocations: 35.86 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.1814, allocations: 7.984 kB / 0.6695 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.1814, allocations: 19.92 kB / 0.6695 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.1815, allocations: 4 kB / 0.6695 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1815, allocations: 0 / 0.6695 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1818, allocations: 67.73 kB / 0.6696 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1818, allocations: 3.984 kB / 0.6696 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1819, allocations: 15.94 kB / 0.6696 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1821, allocations: 47.83 kB / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1821, allocations: 0 / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1821, allocations: 0 / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1821, allocations: 8 kB / 0.6696 GB, free: 1.297 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.0004193/0.1825, allocations: 327.6 kB / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1826, allocations: 9.109 kB / 0.67 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.1826, allocations: 8.922 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1828, allocations: 164.3 kB / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.1828, allocations: 26.27 kB / 0.6702 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1829, allocations: 4.375 kB / 0.6702 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.183, allocations: 45.62 kB / 0.6702 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.183, allocations: 4 kB / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1831, allocations: 0 / 0.6702 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.1831, allocations: 7.922 kB / 0.6702 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.1831, allocations: 19.92 kB / 0.6702 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1836, allocations: 338 kB / 0.6706 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.1837, allocations: 14.58 kB / 0.6706 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.1837, allocations: 12.84 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.1838, allocations: 89.17 kB / 0.6707 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1838, allocations: 30.56 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.346e-06/0.1838, allocations: 0 / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.184, allocations: 41.62 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1841, allocations: 51.41 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.1841, allocations: 101.8 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1842, allocations: 29.83 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1842, allocations: 92.03 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.1842, allocations: 0 / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1843, allocations: 17.72 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1844, allocations: 314.8 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.1844, allocations: 4 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.1844, allocations: 21.7 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.1845, allocations: 25.66 kB / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1845, allocations: 0 / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.097e-05/0.1846, allocations: 61.47 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1846, allocations: 4 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1846, allocations: 0 / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1846, allocations: 0 / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.1847, allocations: 8 kB / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1847, allocations: 0 / 0.6714 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.1847, allocations: 4.062 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1847, allocations: 7.984 kB / 0.6714 GB, free: 15.18 MB / 0.5137 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 8.136e-05/0.1848, allocations: 113.8 kB / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1848, allocations: 0 / 0.6716 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.185, allocations: 116.9 kB / 0.6717 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/0.185, allocations: 184.2 kB / 0.6718 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-05/0.1851, allocations: 184.3 kB / 0.672 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.1852, allocations: 184.2 kB / 0.6722 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1854, allocations: 409.2 kB / 0.6726 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/0.1854, allocations: 104.9 kB / 0.6727 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1855, allocations: 101 kB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.094e-05/0.1855, allocations: 180.2 kB / 0.673 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.1856, allocations: 192.2 kB / 0.6731 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.26e-05/0.1857, allocations: 176.3 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.759e-05/0.1858, allocations: 180.2 kB / 0.6735 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1859, allocations: 307.7 kB / 0.6738 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.186, allocations: 190 kB / 0.6739 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.1861, allocations: 180.3 kB / 0.6741 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1863, allocations: 116.9 kB / 0.6742 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.1863, allocations: 176.3 kB / 0.6744 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.1864, allocations: 104.9 kB / 0.6745 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.1864, allocations: 87.28 kB / 0.6746 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1864, allocations: 4 kB / 0.6746 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002585/0.1867, allocations: 19.92 kB / 0.6746 GB, free: 11.71 MB / 0.5137 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.0002942/0.187, allocations: 199.8 kB / 0.6748 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.1871, allocations: 7.984 kB / 0.6748 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1871, allocations: 0 / 0.6748 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.1871, allocations: 128 / 0.6748 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1875, allocations: 473.4 kB / 0.6753 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.1878, allocations: 199.7 kB / 0.6754 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1881, allocations: 0.6729 MB / 0.6761 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.1881, allocations: 11.42 kB / 0.6761 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1882, allocations: 4 kB / 0.6761 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.002135/0.1903, allocations: 0.746 MB / 0.6768 GB, free: 9.355 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)