Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007821/0.007821, allocations: 107 kB / 15.74 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.002153/0.002154, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9091/0.9091, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.81 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1748, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005546/0.1804, allocations: 3.291 MB / 0.6629 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.1806, allocations: 51.86 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1806, allocations: 3.938 kB / 0.6629 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1808, allocations: 7.922 kB / 0.663 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.1809, allocations: 11.94 kB / 0.663 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.1816, allocations: 190 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1817, allocations: 31.86 kB / 0.6632 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1818, allocations: 4 kB / 0.6632 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.1819, allocations: 19.97 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1819, allocations: 11.94 kB / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.182, allocations: 0 / 0.6632 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.1824, allocations: 179.5 kB / 0.6634 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1824, allocations: 3.984 kB / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.1825, allocations: 12 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.1828, allocations: 131.7 kB / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1828, allocations: 0 / 0.6635 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1828, allocations: 4 kB / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1828, allocations: 0 / 0.6635 GB, free: 6.309 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.0004644/0.1833, allocations: 347.5 kB / 0.6639 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1833, allocations: 12.03 kB / 0.6639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1834, allocations: 0.9375 kB / 0.6639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1835, allocations: 172.2 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/0.1836, allocations: 34.2 kB / 0.6641 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1836, allocations: 4.375 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1838, allocations: 53.61 kB / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1838, allocations: 0 / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1838, allocations: 0 / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.1838, allocations: 0 / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.1839, allocations: 23.92 kB / 0.6641 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.1848, allocations: 0.5755 MB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.1849, allocations: 22.52 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.1849, allocations: 12.92 kB / 0.6647 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.1852, allocations: 340.4 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1852, allocations: 30.56 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.1852, allocations: 0 / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001724/0.1854, allocations: 41.69 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1855, allocations: 55.34 kB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.1856, allocations: 106 kB / 0.6653 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1856, allocations: 29.7 kB / 0.6653 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1857, allocations: 84.05 kB / 0.6654 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.1857, allocations: 0 / 0.6654 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1857, allocations: 17.62 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1858, allocations: 322.8 kB / 0.6657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.1859, allocations: 4 kB / 0.6657 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.1859, allocations: 17.72 kB / 0.6657 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.1859, allocations: 25.72 kB / 0.6658 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1859, allocations: 0 / 0.6658 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.396e-05/0.186, allocations: 49.62 kB / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1861, allocations: 4 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1861, allocations: 0 / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1861, allocations: 4 kB / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.407e-05/0.1862, allocations: 11.98 kB / 0.6658 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1862, allocations: 4.062 kB / 0.6658 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.1862, allocations: 3.938 kB / 0.6658 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1862, allocations: 4 kB / 0.6658 GB, free: 3.547 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 8.626e-05/0.1863, allocations: 114.6 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1863, allocations: 4 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.1865, allocations: 117 kB / 0.6661 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/0.1865, allocations: 192.1 kB / 0.6663 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/0.1866, allocations: 176.3 kB / 0.6664 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.1867, allocations: 176.3 kB / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.1869, allocations: 413.2 kB / 0.667 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/0.187, allocations: 105 kB / 0.6671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.187, allocations: 109.2 kB / 0.6672 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.095e-05/0.1871, allocations: 192.2 kB / 0.6674 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.1872, allocations: 176.3 kB / 0.6675 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.042e-05/0.1872, allocations: 180.2 kB / 0.6677 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/0.1873, allocations: 176.3 kB / 0.6679 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1875, allocations: 327.6 kB / 0.6682 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1875, allocations: 178.1 kB / 0.6684 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.1876, allocations: 180.2 kB / 0.6685 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1878, allocations: 113 kB / 0.6686 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.1879, allocations: 180.2 kB / 0.6688 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1879, allocations: 101 kB / 0.6689 GB, free: 188 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.188, allocations: 95.27 kB / 0.669 GB, free: 92 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.188, allocations: 0 / 0.669 GB, free: 92 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002838/0.1883, allocations: 32 kB / 0.669 GB, free: 60 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.0003022/0.1886, allocations: 230.4 kB / 0.6692 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.094e-05/0.1887, allocations: 15.92 kB / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1887, allocations: 0 / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.1887, allocations: 4 kB / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1892, allocations: 457.4 kB / 0.6697 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.1895, allocations: 186 kB / 0.6699 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1897, allocations: 0.669 MB / 0.6705 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.1898, allocations: 10.94 kB / 0.6705 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.1898, allocations: 15.38 kB / 0.6706 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.1898, allocations: 0 / 0.6706 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.003767/0.1936, allocations: 1.211 MB / 0.6717 GB, free: 13.27 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)