Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.001325/0.001325, allocations: 180.7 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008765/0.0008765, allocations: 103 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 10.94 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.379, allocations: 342.8 MB / 1.314 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.379, allocations: 90.06 kB / 1.314 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02766/1.407, allocations: 7.744 MB / 1.322 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.844e-06/1.407, allocations: 0 / 1.322 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.407, allocations: 0 / 1.322 GB, free: 15.7 MB / 0.8542 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.0004413/1.407, allocations: 350.8 kB / 1.322 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.407, allocations: 8.031 kB / 1.322 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/1.407, allocations: 5.562 kB / 1.322 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.408, allocations: 168.2 kB / 1.322 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/1.408, allocations: 26.27 kB / 1.322 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/1.408, allocations: 16.28 kB / 1.322 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/1.408, allocations: 45.94 kB / 1.322 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.408, allocations: 3.938 kB / 1.322 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.408, allocations: 0 / 1.322 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/1.408, allocations: 3.984 kB / 1.322 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/1.408, allocations: 15.55 kB / 1.322 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/1.409, allocations: 0.5805 MB / 1.323 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/1.409, allocations: 26.52 kB / 1.323 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/1.409, allocations: 8.797 kB / 1.323 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/1.409, allocations: 344.4 kB / 1.323 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.409, allocations: 34.5 kB / 1.323 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/1.409, allocations: 0 / 1.323 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/1.41, allocations: 33.64 kB / 1.323 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.41, allocations: 55.34 kB / 1.323 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/1.41, allocations: 109.7 kB / 1.323 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.41, allocations: 25.7 kB / 1.323 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/1.41, allocations: 84.05 kB / 1.324 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/1.41, allocations: 4 kB / 1.324 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.41, allocations: 0 / 1.324 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.41, allocations: 318.6 kB / 1.324 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/1.41, allocations: 4 kB / 1.324 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/1.41, allocations: 13.72 kB / 1.324 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/1.41, allocations: 29.58 kB / 1.324 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.41, allocations: 0 / 1.324 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/1.41, allocations: 49.42 kB / 1.324 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.41, allocations: 8 kB / 1.324 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.41, allocations: 0 / 1.324 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.41, allocations: 3.984 kB / 1.324 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/1.41, allocations: 4 kB / 1.324 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.41, allocations: 4.062 kB / 1.324 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/1.41, allocations: 15.88 kB / 1.324 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.411, allocations: 0 / 1.324 GB, free: 13 MB / 0.8542 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 0.0001083/1.411, allocations: 121.7 kB / 1.324 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/1.411, allocations: 0 / 1.324 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/1.411, allocations: 120.7 kB / 1.324 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.748e-05/1.411, allocations: 184.2 kB / 1.324 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-05/1.411, allocations: 176.3 kB / 1.325 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.562e-05/1.411, allocations: 180.3 kB / 1.325 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/1.411, allocations: 409.6 kB / 1.325 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.262e-05/1.411, allocations: 105 kB / 1.325 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/1.412, allocations: 112 kB / 1.325 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.888e-05/1.412, allocations: 180.3 kB / 1.326 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/1.412, allocations: 176.3 kB / 1.326 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.224e-05/1.412, allocations: 184.2 kB / 1.326 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.656e-05/1.412, allocations: 180.3 kB / 1.326 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.412, allocations: 315.1 kB / 1.326 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/1.412, allocations: 184.6 kB / 1.326 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/1.412, allocations: 189.7 kB / 1.327 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.412, allocations: 105 kB / 1.327 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/1.413, allocations: 184.2 kB / 1.327 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/1.413, allocations: 108.5 kB / 1.327 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.195e-05/1.413, allocations: 83.27 kB / 1.327 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.2e-07/1.413, allocations: 3.938 kB / 1.327 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000383/1.413, allocations: 35.75 kB / 1.327 GB, free: 9.543 MB / 0.8542 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.0003509/1.414, allocations: 229.2 kB / 1.327 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.082e-05/1.414, allocations: 11.92 kB / 1.327 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.414, allocations: 0 / 1.327 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/1.414, allocations: 4 kB / 1.327 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/1.414, allocations: 0.5315 MB / 1.328 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/1.415, allocations: 192.2 kB / 1.328 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/1.415, allocations: 0.6692 MB / 1.329 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.042e-05/1.415, allocations: 11.97 kB / 1.329 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/1.415, allocations: 15.44 kB / 1.329 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/1.415, allocations: 3.938 kB / 1.329 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of Templates: time 0.004788/1.42, allocations: 1.076 MB / 1.33 GB, free: 6.812 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)