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.811/1.811, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001465/0.001465, allocations: 173.1 kB / 377.1 MB, free: 1.508 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.621/1.621, allocations: 205.4 MB / 0.6367 GB, free: 8.594 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.00104/0.00104, allocations: 92.8 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003199, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9334/1.208, allocations: 378.7 MB / 1.358 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.208, allocations: 71.97 kB / 1.358 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.6015/1.81, allocations: 12.05 MB / 1.37 GB, free: 281 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.435e-06/1.81, allocations: 1.5 kB / 1.37 GB, free: 281 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.81, allocations: 0 / 1.37 GB, free: 281 MB / 0.9323 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.0002899/1.81, allocations: 334.7 kB / 1.37 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.81, allocations: 10.28 kB / 1.37 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/1.81, allocations: 6.281 kB / 1.37 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/1.81, allocations: 161.4 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-05/1.81, allocations: 36.5 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.81, allocations: 1.625 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/1.811, allocations: 43.36 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.811, allocations: 2.125 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.811, allocations: 2.391 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/1.811, allocations: 1.219 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/1.811, allocations: 16.56 kB / 1.371 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/1.811, allocations: 336.3 kB / 1.371 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/1.811, allocations: 22.75 kB / 1.371 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/1.811, allocations: 86 kB / 1.371 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.811, allocations: 36.69 kB / 1.371 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/1.811, allocations: 0 / 1.371 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/1.811, allocations: 31.06 kB / 1.371 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/1.811, allocations: 56.95 kB / 1.371 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/1.812, allocations: 96.17 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/1.812, allocations: 27.95 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/1.812, allocations: 90.06 kB / 1.371 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/1.812, allocations: 1.812 kB / 1.371 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.812, allocations: 0.625 kB / 1.371 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/1.812, allocations: 321.4 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/1.812, allocations: 3.5 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/1.812, allocations: 16.97 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/1.812, allocations: 6.812 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.812, allocations: 0 / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.094e-05/1.812, allocations: 51.58 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.812, allocations: 8.594 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.812, allocations: 0 / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.812, allocations: 0 / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/1.812, allocations: 8.844 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/1.812, allocations: 0.625 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/1.812, allocations: 5.219 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.812, allocations: 6.375 kB / 1.372 GB, free: 279.2 MB / 0.9323 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 6.02e-05/1.812, allocations: 114.3 kB / 1.372 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/1.812, allocations: 9.594 kB / 1.372 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.812, allocations: 122.1 kB / 1.372 GB, free: 279 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/1.812, allocations: 183.6 kB / 1.372 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-05/1.812, allocations: 180 kB / 1.372 GB, free: 278.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.812, allocations: 179.9 kB / 1.373 GB, free: 278.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/1.813, allocations: 411.2 kB / 1.373 GB, free: 278 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.813, allocations: 107.6 kB / 1.373 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/1.813, allocations: 106.2 kB / 1.373 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.607e-05/1.813, allocations: 178 kB / 1.373 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.813, allocations: 181.8 kB / 1.373 GB, free: 277.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.739e-05/1.813, allocations: 178.9 kB / 1.374 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.032e-05/1.813, allocations: 184.4 kB / 1.374 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.967e-05/1.813, allocations: 316.5 kB / 1.374 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/1.813, allocations: 183.2 kB / 1.374 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/1.813, allocations: 181.4 kB / 1.374 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.813, allocations: 113.1 kB / 1.375 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/1.813, allocations: 177.7 kB / 1.375 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.813, allocations: 107.4 kB / 1.375 GB, free: 276 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.033e-05/1.813, allocations: 87.09 kB / 1.375 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.813, allocations: 0 / 1.375 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002559/1.813, allocations: 15.66 kB / 1.375 GB, free: 275.9 MB / 0.9323 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.0002038/1.814, allocations: 212.2 kB / 1.375 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.05e-05/1.814, allocations: 11.62 kB / 1.375 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.814, allocations: 0 / 1.375 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.814, allocations: 4.5 kB / 1.375 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.814, allocations: 0.5236 MB / 1.376 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/1.814, allocations: 194.8 kB / 1.376 GB, free: 275 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/1.814, allocations: 0.6777 MB / 1.377 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.178e-05/1.814, allocations: 10.83 kB / 1.377 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/1.814, allocations: 10.12 kB / 1.377 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.3e-07/1.814, allocations: 0 / 1.377 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.002915/1.817, allocations: 0.7771 MB / 1.377 GB, free: 274.3 MB / 0.9323 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)