Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.59 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3802, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.166/0.5462, allocations: 146 MB / 1.21 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.5464, allocations: 51.8 kB / 1.21 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.5465, allocations: 0 / 1.21 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5466, allocations: 3.984 kB / 1.21 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.5467, allocations: 15.86 kB / 1.21 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.5475, allocations: 206.7 kB / 1.21 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.5476, allocations: 55.83 kB / 1.21 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.5477, allocations: 7.969 kB / 1.21 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.5477, allocations: 12 kB / 1.21 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.5478, allocations: 11.98 kB / 1.21 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.5478, allocations: 3.938 kB / 1.21 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.5483, allocations: 235.3 kB / 1.211 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.5483, allocations: 15.98 kB / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.5484, allocations: 7.984 kB / 1.211 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.5486, allocations: 131.9 kB / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5487, allocations: 0 / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5487, allocations: 0 / 1.211 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5487, allocations: 0 / 1.211 GB, free: 7.574 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.0004456/0.5491, allocations: 337.3 kB / 1.211 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5492, allocations: 8.031 kB / 1.211 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.5495, allocations: 28.81 kB / 1.211 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.5496, allocations: 176.3 kB / 1.211 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.5497, allocations: 29.64 kB / 1.211 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.5497, allocations: 0 / 1.211 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5499, allocations: 53.67 kB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5499, allocations: 0 / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5499, allocations: 3.938 kB / 1.211 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.5499, allocations: 0 / 1.211 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.848e-05/0.55, allocations: 23.98 kB / 1.211 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.5504, allocations: 260.9 kB / 1.212 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.5504, allocations: 26.52 kB / 1.212 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.5505, allocations: 8.859 kB / 1.212 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.5506, allocations: 97.09 kB / 1.212 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5507, allocations: 34.56 kB / 1.212 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5507, allocations: 0 / 1.212 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002557/0.5509, allocations: 53.62 kB / 1.212 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.551, allocations: 51.41 kB / 1.212 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.5511, allocations: 105.8 kB / 1.212 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.5511, allocations: 25.7 kB / 1.212 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.5512, allocations: 88.05 kB / 1.212 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.5512, allocations: 8.031 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.5512, allocations: 21.7 kB / 1.212 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5513, allocations: 310.8 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.5514, allocations: 8 kB / 1.213 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.5514, allocations: 22.56 kB / 1.213 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.5514, allocations: 34.52 kB / 1.213 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5515, allocations: 4 kB / 1.213 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.974e-05/0.5515, allocations: 57.53 kB / 1.213 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5516, allocations: 5.25 kB / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5516, allocations: 0 / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5516, allocations: 0 / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.5517, allocations: 8 kB / 1.213 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5517, allocations: 3.938 kB / 1.213 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.5517, allocations: 8.031 kB / 1.213 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.5517, allocations: 4 kB / 1.213 GB, free: 5.445 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 6.841e-05/0.5518, allocations: 109.8 kB / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.5518, allocations: 7.984 kB / 1.213 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.5518, allocations: 3.125 kB / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5519, allocations: 0 / 1.213 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5519, allocations: 7.938 kB / 1.213 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5519, allocations: 0 / 1.213 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.5522, allocations: 371.5 kB / 1.213 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5522, allocations: 288 / 1.213 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.5522, allocations: 4 kB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5522, allocations: 3.938 kB / 1.213 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5522, allocations: 3.938 kB / 1.213 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5522, allocations: 0 / 1.213 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5522, allocations: 4 kB / 1.213 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.114e-05/0.5523, allocations: 81.94 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.5524, allocations: 81.05 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.5524, allocations: 4 kB / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.5525, allocations: 0 / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.5525, allocations: 4 kB / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5525, allocations: 3.984 kB / 1.213 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.5526, allocations: 83.22 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5526, allocations: 4.031 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002125/0.5528, allocations: 12 kB / 1.213 GB, free: 4.559 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.000121/0.5529, allocations: 99.19 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.553, allocations: 15.98 kB / 1.214 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.553, allocations: 0 / 1.214 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.5531, allocations: 8.188 kB / 1.214 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.5533, allocations: 16 kB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.5536, allocations: 117.2 kB / 1.214 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.5538, allocations: 0.677 MB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.5539, allocations: 8 kB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.5539, allocations: 11.44 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.5539, allocations: 0 / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of Templates: time 0.002663/0.5566, allocations: 0.5516 MB / 1.215 GB, free: 2.992 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)