Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.769/1.769, allocations: 288.4 MB / 303.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 184.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 85.33 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 10.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003209/0.2636, allocations: 2.884 MB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 8.391e-05/0.2637, allocations: 51.88 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.2638, allocations: 4 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2639, allocations: 3.938 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.264, allocations: 3.984 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2644, allocations: 131.4 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.2645, allocations: 43.83 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.2645, allocations: 0 / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.2646, allocations: 23.92 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2646, allocations: 7.984 kB / 0.9827 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2647, allocations: 4 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2649, allocations: 83.75 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.2649, allocations: 19.91 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.265, allocations: 25.7 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2651, allocations: 64.09 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2651, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2651, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.2652, allocations: 0 / 0.9828 GB, free: 24.29 MB / 0.6198 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.0004077/0.2656, allocations: 343.4 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2656, allocations: 15.95 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.2657, allocations: 11.86 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.2658, allocations: 159.1 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.2658, allocations: 25.7 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.2658, allocations: 7.984 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.266, allocations: 37.69 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.266, allocations: 4 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.266, allocations: 0 / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2661, allocations: 7.938 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.2661, allocations: 19.94 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.2667, allocations: 0.5795 MB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.404e-05/0.2667, allocations: 18.58 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.2667, allocations: 8.844 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.2669, allocations: 340.5 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2669, allocations: 42.5 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.2669, allocations: 0 / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000157/0.2671, allocations: 37.64 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.2671, allocations: 51.41 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.2672, allocations: 101.9 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.2672, allocations: 29.64 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.2673, allocations: 92.16 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.2673, allocations: 3.906 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2673, allocations: 4 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.2673, allocations: 314.8 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.2674, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.2674, allocations: 21.64 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.2674, allocations: 8 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2674, allocations: 4 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.318e-05/0.2675, allocations: 45.69 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2675, allocations: 4 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2675, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2675, allocations: 3.953 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.2676, allocations: 11.94 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2676, allocations: 3.984 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.2676, allocations: 7.938 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2676, allocations: 0 / 0.9851 GB, free: 21.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.2677, allocations: 113.9 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.2677, allocations: 3.984 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.2678, allocations: 114.9 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.2679, allocations: 188.2 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/0.2679, allocations: 188.2 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/0.2679, allocations: 184.2 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2681, allocations: 409.2 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.2681, allocations: 105 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.2681, allocations: 104.9 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.607e-05/0.2681, allocations: 176.3 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2682, allocations: 184.2 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/0.2682, allocations: 184.2 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-05/0.2682, allocations: 176.3 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.981e-05/0.2683, allocations: 311.6 kB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2684, allocations: 194 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.2684, allocations: 180.3 kB / 0.9878 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2685, allocations: 105 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.2686, allocations: 184.2 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2686, allocations: 105 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.2686, allocations: 95.17 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2686, allocations: 0 / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002502/0.2689, allocations: 31.98 kB / 0.9883 GB, free: 18.1 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.2691, allocations: 230.4 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.2692, allocations: 15.94 kB / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2692, allocations: 0 / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.2692, allocations: 320 / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.2696, allocations: 0.5241 MB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.2698, allocations: 188.2 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.27, allocations: 0.677 MB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.27, allocations: 6.531 kB / 0.9899 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.27, allocations: 7.438 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.27, allocations: 0 / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002956/0.273, allocations: 1.094 MB / 0.991 GB, free: 15.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)