Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.3 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1644/0.4727, allocations: 148.3 MB / 1.213 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.4729, allocations: 55.72 kB / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.473, allocations: 0 / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.4731, allocations: 3.938 kB / 1.213 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.4732, allocations: 7.922 kB / 1.213 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.4739, allocations: 223.2 kB / 1.213 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.474, allocations: 23.92 kB / 1.213 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.474, allocations: 7.938 kB / 1.213 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.4741, allocations: 27.84 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.4741, allocations: 11.98 kB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4742, allocations: 0 / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.4746, allocations: 191.5 kB / 1.213 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.4747, allocations: 7.984 kB / 1.213 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.4747, allocations: 15.92 kB / 1.214 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.475, allocations: 120 kB / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.475, allocations: 0 / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.475, allocations: 0 / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.475, allocations: 0 / 1.214 GB, free: 4.879 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004225/0.4754, allocations: 335.6 kB / 1.214 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4755, allocations: 12.02 kB / 1.214 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.4758, allocations: 28.83 kB / 1.214 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4759, allocations: 176.3 kB / 1.214 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.476, allocations: 29.64 kB / 1.214 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.476, allocations: 4 kB / 1.214 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.4762, allocations: 57.59 kB / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.4762, allocations: 0 / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4762, allocations: 0 / 1.214 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4762, allocations: 3.984 kB / 1.214 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.4763, allocations: 20 kB / 1.214 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.4766, allocations: 256.9 kB / 1.215 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.4767, allocations: 26.52 kB / 1.215 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.4767, allocations: 12.84 kB / 1.215 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.4769, allocations: 93.16 kB / 1.215 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4769, allocations: 34.56 kB / 1.215 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.477, allocations: 0 / 1.215 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.4772, allocations: 53.62 kB / 1.215 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.4773, allocations: 51.41 kB / 1.215 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.4774, allocations: 101.8 kB / 1.215 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4774, allocations: 29.7 kB / 1.215 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.4775, allocations: 88.03 kB / 1.215 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.4775, allocations: 11.97 kB / 1.215 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.4775, allocations: 17.72 kB / 1.215 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4776, allocations: 310.8 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.4777, allocations: 11.98 kB / 1.215 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.4777, allocations: 18.58 kB / 1.215 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.4778, allocations: 34.58 kB / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4778, allocations: 0 / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.932e-05/0.4779, allocations: 61.47 kB / 1.215 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4779, allocations: 4 kB / 1.215 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4779, allocations: 3.938 kB / 1.215 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4779, allocations: 0 / 1.215 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.478, allocations: 11.98 kB / 1.215 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.478, allocations: 3.938 kB / 1.215 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.478, allocations: 12.03 kB / 1.215 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.478, allocations: 0 / 1.215 GB, free: 2.738 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.4781, allocations: 114.4 kB / 1.216 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.4781, allocations: 0 / 1.216 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.4782, allocations: 3.125 kB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4782, allocations: 0 / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4782, allocations: 3.938 kB / 1.216 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4782, allocations: 4 kB / 1.216 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.4785, allocations: 363.6 kB / 1.216 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4785, allocations: 0 / 1.216 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.4785, allocations: 4 kB / 1.216 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4786, allocations: 3.938 kB / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4786, allocations: 0 / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4786, allocations: 0 / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4786, allocations: 11.98 kB / 1.216 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.4787, allocations: 77.91 kB / 1.216 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.4787, allocations: 85.05 kB / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.4788, allocations: 288 / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.4789, allocations: 7.922 kB / 1.216 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.4789, allocations: 4 kB / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.4789, allocations: 0 / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.4789, allocations: 83.27 kB / 1.216 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4789, allocations: 4.031 kB / 1.216 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002102/0.4792, allocations: 12 kB / 1.216 GB, free: 1.859 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.4793, allocations: 103.2 kB / 1.216 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.4794, allocations: 15.94 kB / 1.216 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4794, allocations: 0 / 1.216 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.4794, allocations: 8.25 kB / 1.216 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4797, allocations: 12.05 kB / 1.216 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.4799, allocations: 119.5 kB / 1.216 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4802, allocations: 0.6729 MB / 1.217 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.101e-05/0.4803, allocations: 11.98 kB / 1.217 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.4803, allocations: 7.438 kB / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.4803, allocations: 0 / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of Templates: time 0.002898/0.4832, allocations: 0.5798 MB / 1.218 GB, free: 280 kB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)