Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007732/0.0007732, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 180.3 kB / 16.92 MB, free: 6.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.38/1.38, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 11.94 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 77.53 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003913/0.1787, allocations: 2.981 MB / 0.5629 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.252e-05/0.1788, allocations: 51.8 kB / 0.5629 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.1788, allocations: 4 kB / 0.5629 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.976e-05/0.1789, allocations: 0 / 0.5629 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.179, allocations: 11.91 kB / 0.5629 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1795, allocations: 178.1 kB / 0.5631 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.019e-05/0.1796, allocations: 55.88 kB / 0.5632 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1796, allocations: 0 / 0.5632 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1797, allocations: 15.94 kB / 0.5632 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.1797, allocations: 19.91 kB / 0.5632 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1798, allocations: 4 kB / 0.5632 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.1801, allocations: 167.6 kB / 0.5634 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1802, allocations: 7.969 kB / 0.5634 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1802, allocations: 37.64 kB / 0.5634 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1805, allocations: 140 kB / 0.5635 GB, free: 5.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1805, allocations: 3.938 kB / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1805, allocations: 0 / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1806, allocations: 0 / 0.5635 GB, free: 5.355 MB / 430.1 MB 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.0004544/0.181, allocations: 331.5 kB / 0.5639 GB, free: 4.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1811, allocations: 12.03 kB / 0.5639 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1811, allocations: 4.844 kB / 0.5639 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1813, allocations: 164.4 kB / 0.564 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.1813, allocations: 42.2 kB / 0.5641 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.1814, allocations: 384 / 0.5641 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1815, allocations: 45.61 kB / 0.5641 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1815, allocations: 0 / 0.5641 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1815, allocations: 0 / 0.5641 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.1816, allocations: 4 kB / 0.5641 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.1816, allocations: 15.98 kB / 0.5641 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.1823, allocations: 0.5872 MB / 0.5647 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.1823, allocations: 26.52 kB / 0.5647 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.1823, allocations: 4.859 kB / 0.5647 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.1826, allocations: 340.5 kB / 0.5651 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1826, allocations: 34.55 kB / 0.5651 GB, free: 3.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1826, allocations: 0 / 0.5651 GB, free: 3.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.1828, allocations: 33.8 kB / 0.5651 GB, free: 3.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1828, allocations: 63.38 kB / 0.5652 GB, free: 3.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.1829, allocations: 101.8 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1829, allocations: 25.7 kB / 0.5653 GB, free: 3.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.183, allocations: 91.98 kB / 0.5654 GB, free: 3.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.183, allocations: 3.906 kB / 0.5654 GB, free: 3.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.183, allocations: 9.719 kB / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1831, allocations: 322.7 kB / 0.5657 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.1832, allocations: 7.984 kB / 0.5657 GB, free: 2.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.1832, allocations: 17.72 kB / 0.5657 GB, free: 2.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.1832, allocations: 17.72 kB / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1832, allocations: 4 kB / 0.5658 GB, free: 2.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.236e-05/0.1833, allocations: 49.62 kB / 0.5658 GB, free: 2.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1833, allocations: 4 kB / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1834, allocations: 0 / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1834, allocations: 4.062 kB / 0.5658 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.1834, allocations: 8 kB / 0.5658 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1834, allocations: 3.984 kB / 0.5658 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1835, allocations: 3.938 kB / 0.5658 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1835, allocations: 4 kB / 0.5658 GB, free: 2.617 MB / 430.1 MB 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 9.042e-05/0.1836, allocations: 117.7 kB / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1836, allocations: 0 / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1837, allocations: 125 kB / 0.5661 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.855e-05/0.1838, allocations: 180.2 kB / 0.5662 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/0.1839, allocations: 180.3 kB / 0.5664 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/0.184, allocations: 176.3 kB / 0.5666 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1842, allocations: 417.1 kB / 0.567 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.1842, allocations: 101 kB / 0.5671 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1843, allocations: 108.9 kB / 0.5672 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-05/0.1844, allocations: 180.2 kB / 0.5673 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.1844, allocations: 184.3 kB / 0.5675 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.527e-05/0.1845, allocations: 180.2 kB / 0.5677 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-05/0.1846, allocations: 176.5 kB / 0.5679 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1847, allocations: 323.6 kB / 0.5682 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.1848, allocations: 182.1 kB / 0.5683 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.1849, allocations: 180.5 kB / 0.5685 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1851, allocations: 109 kB / 0.5686 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.1851, allocations: 188.2 kB / 0.5688 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1852, allocations: 109 kB / 0.5689 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.1852, allocations: 83.27 kB / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1852, allocations: 3.938 kB / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1855, allocations: 32 kB / 0.569 GB, free: 15.14 MB / 446.1 MB 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.0002693/0.1858, allocations: 234.3 kB / 0.5692 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.1859, allocations: 15.92 kB / 0.5693 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1859, allocations: 0 / 0.5693 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.1859, allocations: 0 / 0.5693 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1863, allocations: 0.5273 MB / 0.5698 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.1866, allocations: 187.9 kB / 0.5699 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1869, allocations: 0.6809 MB / 0.5706 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.1869, allocations: 8.562 kB / 0.5706 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.1869, allocations: 11.44 kB / 0.5706 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1869, allocations: 0 / 0.5706 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003599/0.1905, allocations: 1.18 MB / 0.5718 GB, free: 12.27 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)