Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.511/1.511, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0009814/0.0009813, allocations: 172.9 kB / 366.7 MB, free: 1.688 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.329/1.329, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0007815/0.0007816, allocations: 89.05 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.547e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5835, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8827/1.466, allocations: 378 MB / 1.342 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/1.466, allocations: 76.45 kB / 1.342 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02022/1.487, allocations: 11.96 MB / 1.354 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/1.487, allocations: 0 / 1.354 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.929e-06/1.487, allocations: 3.938 kB / 1.354 GB, free: 202.1 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.0002247/1.487, allocations: 330.5 kB / 1.354 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.487, allocations: 8.031 kB / 1.354 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/1.487, allocations: 4 kB / 1.354 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/1.487, allocations: 167 kB / 1.355 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/1.487, allocations: 29.64 kB / 1.355 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/1.487, allocations: 0 / 1.355 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.576e-05/1.487, allocations: 15.98 kB / 1.355 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.523e-05/1.487, allocations: 37.69 kB / 1.355 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.487, allocations: 0 / 1.355 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.487, allocations: 0 / 1.355 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.487, allocations: 4 kB / 1.355 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/1.488, allocations: 314.5 kB / 1.355 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.979e-05/1.488, allocations: 18.52 kB / 1.355 GB, free: 201 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/1.488, allocations: 12.97 kB / 1.355 GB, free: 201 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/1.488, allocations: 85.09 kB / 1.355 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/1.488, allocations: 30.56 kB / 1.355 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.488, allocations: 4 kB / 1.355 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.000144/1.488, allocations: 33.7 kB / 1.355 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/1.488, allocations: 55.39 kB / 1.355 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/1.488, allocations: 93 kB / 1.355 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/1.488, allocations: 25.7 kB / 1.355 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/1.488, allocations: 84.05 kB / 1.355 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/1.488, allocations: 4 kB / 1.355 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.488, allocations: 0 / 1.355 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.099e-05/1.488, allocations: 322.8 kB / 1.356 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/1.488, allocations: 8 kB / 1.356 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/1.488, allocations: 13.66 kB / 1.356 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/1.488, allocations: 8 kB / 1.356 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.488, allocations: 3.844 kB / 1.356 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.249e-05/1.488, allocations: 45.69 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.488, allocations: 8 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.488, allocations: 4.062 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.488, allocations: 3.938 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.049e-05/1.489, allocations: 7.984 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.489, allocations: 6.359 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/1.489, allocations: 15.34 kB / 1.356 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/1.489, allocations: 288 / 1.356 GB, free: 200.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 4.552e-05/1.489, allocations: 106.6 kB / 1.356 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.489, allocations: 4 kB / 1.356 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/1.489, allocations: 125.6 kB / 1.356 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.489, allocations: 176.3 kB / 1.356 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/1.489, allocations: 184.2 kB / 1.356 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/1.489, allocations: 176.3 kB / 1.357 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/1.489, allocations: 389.7 kB / 1.357 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.489, allocations: 105 kB / 1.357 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/1.489, allocations: 105 kB / 1.357 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/1.489, allocations: 184.2 kB / 1.357 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.489, allocations: 184.2 kB / 1.357 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/1.489, allocations: 176.3 kB / 1.358 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/1.489, allocations: 180.2 kB / 1.358 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.219e-05/1.489, allocations: 303.8 kB / 1.358 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/1.489, allocations: 194 kB / 1.358 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/1.489, allocations: 176.3 kB / 1.358 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.489, allocations: 109 kB / 1.359 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/1.489, allocations: 184.2 kB / 1.359 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/1.489, allocations: 101 kB / 1.359 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.274e-05/1.489, allocations: 87.28 kB / 1.359 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.489, allocations: 0 / 1.359 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002141/1.49, allocations: 15.98 kB / 1.359 GB, free: 196.7 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.0001538/1.49, allocations: 205.4 kB / 1.359 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.412e-05/1.49, allocations: 8 kB / 1.359 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.49, allocations: 0 / 1.359 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/1.49, allocations: 3.938 kB / 1.359 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/1.49, allocations: 0.528 MB / 1.36 GB, free: 196 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/1.49, allocations: 131.2 kB / 1.36 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/1.49, allocations: 0.68 MB / 1.36 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.793e-05/1.49, allocations: 4 kB / 1.36 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/1.49, allocations: 15.44 kB / 1.36 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2e-07/1.49, allocations: 0 / 1.36 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.002324/1.493, allocations: 0.6545 MB / 1.361 GB, free: 194.5 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)