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.673/1.673, allocations: 285.4 MB / 298 MB, free: 5.984 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.00129/0.00129, allocations: 172.9 kB / 366.4 MB, free: 2.105 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.482/1.482, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008272/0.0008268, allocations: 98 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7297, allocations: 115.3 MB / 0.9709 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.777, allocations: 342.9 MB / 1.306 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.778, allocations: 78.94 kB / 1.306 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01646/1.794, allocations: 7.71 MB / 1.313 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.675e-06/1.794, allocations: 0 / 1.313 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.794, allocations: 0 / 1.313 GB, free: 183.5 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.0003543/1.795, allocations: 340.4 kB / 1.314 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.795, allocations: 9.219 kB / 1.314 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/1.795, allocations: 1.156 kB / 1.314 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.795, allocations: 171.8 kB / 1.314 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/1.795, allocations: 28.2 kB / 1.314 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.795, allocations: 4.844 kB / 1.314 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/1.795, allocations: 40.48 kB / 1.314 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/1.795, allocations: 2.812 kB / 1.314 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.795, allocations: 1.062 kB / 1.314 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/1.795, allocations: 1.312 kB / 1.314 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.398e-05/1.795, allocations: 15.94 kB / 1.314 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/1.796, allocations: 0.6008 MB / 1.314 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.897e-05/1.796, allocations: 27.81 kB / 1.315 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/1.796, allocations: 6.672 kB / 1.315 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002289/1.796, allocations: 366.3 kB / 1.315 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.796, allocations: 31.53 kB / 1.315 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/1.796, allocations: 0 / 1.315 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/1.796, allocations: 34.91 kB / 1.315 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.796, allocations: 60.28 kB / 1.315 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/1.796, allocations: 94.53 kB / 1.315 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.797, allocations: 25.7 kB / 1.315 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/1.797, allocations: 88.42 kB / 1.315 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/1.797, allocations: 1.188 kB / 1.315 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/1.797, allocations: 3.938 kB / 1.315 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/1.797, allocations: 319.8 kB / 1.316 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/1.797, allocations: 2.125 kB / 1.316 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/1.797, allocations: 22.12 kB / 1.316 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/1.797, allocations: 4.094 kB / 1.316 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.797, allocations: 0 / 1.316 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.249e-05/1.797, allocations: 51.27 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.797, allocations: 4.781 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.797, allocations: 1.125 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.797, allocations: 2.438 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/1.797, allocations: 13.22 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.797, allocations: 1 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/1.797, allocations: 8.875 kB / 1.316 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.797, allocations: 1.219 kB / 1.316 GB, free: 181.1 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 () * 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.222e-05/1.797, allocations: 109.2 kB / 1.316 GB, free: 181 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/1.797, allocations: 1.812 kB / 1.316 GB, free: 181 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/1.797, allocations: 124 kB / 1.316 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/1.797, allocations: 181.6 kB / 1.316 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.797, allocations: 180.2 kB / 1.316 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/1.797, allocations: 177.1 kB / 1.316 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.798, allocations: 408.5 kB / 1.317 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.798, allocations: 104.9 kB / 1.317 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/1.798, allocations: 110 kB / 1.317 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.253e-05/1.798, allocations: 181.2 kB / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/1.798, allocations: 184.8 kB / 1.317 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.164e-05/1.798, allocations: 177.2 kB / 1.317 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.238e-05/1.798, allocations: 181.4 kB / 1.318 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/1.798, allocations: 315.5 kB / 1.318 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/1.798, allocations: 179.7 kB / 1.318 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.798, allocations: 187.4 kB / 1.318 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.798, allocations: 107.5 kB / 1.318 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/1.798, allocations: 180.4 kB / 1.319 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/1.798, allocations: 110.8 kB / 1.319 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.963e-05/1.798, allocations: 84.28 kB / 1.319 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.798, allocations: 0 / 1.319 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000321/1.799, allocations: 29.58 kB / 1.319 GB, free: 177.8 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 () * 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.000293/1.799, allocations: 237.1 kB / 1.319 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.399e-05/1.799, allocations: 10.44 kB / 1.319 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.799, allocations: 3.938 kB / 1.319 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/1.799, allocations: 1.094 kB / 1.319 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.799, allocations: 0.5287 MB / 1.32 GB, free: 177 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/1.799, allocations: 129.5 kB / 1.32 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/1.8, allocations: 0.6768 MB / 1.32 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.887e-05/1.8, allocations: 7.938 kB / 1.32 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/1.8, allocations: 10.12 kB / 1.32 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/1.8, allocations: 4 kB / 1.32 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.003949/1.804, allocations: 1.096 MB / 1.321 GB, free: 176.1 MB / 0.8542 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)