Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001074/0.001074, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.0009948/0.0009948, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 0.5496 GB, free: 17.37 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1864, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4799/0.6664, allocations: 148.3 MB / 0.9296 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001303/0.6665, allocations: 62.19 kB / 0.9296 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.6666, allocations: 0 / 0.9296 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.9e-05/0.6667, allocations: 4 kB / 0.9296 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.6668, allocations: 11.08 kB / 0.9296 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.6675, allocations: 198.3 kB / 0.9298 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.6676, allocations: 31.62 kB / 0.9299 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.6677, allocations: 9.828 kB / 0.9299 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.6677, allocations: 8.562 kB / 0.9299 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.6678, allocations: 19.88 kB / 0.9299 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.6678, allocations: 5.656 kB / 0.9299 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.6682, allocations: 191.9 kB / 0.9301 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.6683, allocations: 12.09 kB / 0.9301 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.6683, allocations: 8.062 kB / 0.9301 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.6685, allocations: 111.4 kB / 0.9302 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6685, allocations: 3.938 kB / 0.9302 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6686, allocations: 0 / 0.9302 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.6686, allocations: 0 / 0.9302 GB, free: 5.008 MB / 0.7169 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.0003848/0.669, allocations: 342.5 kB / 0.9305 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.669, allocations: 9.625 kB / 0.9305 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.6693, allocations: 29.95 kB / 0.9306 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6694, allocations: 166 kB / 0.9307 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.6695, allocations: 35 kB / 0.9308 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.6695, allocations: 1.375 kB / 0.9308 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.6696, allocations: 50.05 kB / 0.9308 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.6697, allocations: 0 / 0.9308 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.6697, allocations: 5.625 kB / 0.9308 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6697, allocations: 5.156 kB / 0.9308 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.262e-05/0.6698, allocations: 25.7 kB / 0.9309 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.6701, allocations: 258 kB / 0.9311 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.6701, allocations: 19.61 kB / 0.9311 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.6702, allocations: 11.42 kB / 0.9311 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.6703, allocations: 94.91 kB / 0.9312 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.6704, allocations: 35.61 kB / 0.9313 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.6704, allocations: 0.9062 kB / 0.9313 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.6706, allocations: 51.45 kB / 0.9313 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.6706, allocations: 56.61 kB / 0.9314 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.6707, allocations: 108.3 kB / 0.9315 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6707, allocations: 25.7 kB / 0.9315 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.6708, allocations: 85.23 kB / 0.9316 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.6708, allocations: 5.266 kB / 0.9316 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.6708, allocations: 17.44 kB / 0.9316 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.671, allocations: 316.1 kB / 0.9319 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.671, allocations: 6.25 kB / 0.9319 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.671, allocations: 28.19 kB / 0.9319 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.6711, allocations: 31.27 kB / 0.932 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6711, allocations: 3.938 kB / 0.932 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.964e-05/0.6712, allocations: 57.28 kB / 0.932 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6712, allocations: 5.25 kB / 0.932 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6712, allocations: 5.656 kB / 0.932 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.6712, allocations: 1.5 kB / 0.932 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.6713, allocations: 5.469 kB / 0.932 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6713, allocations: 1.281 kB / 0.932 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.6713, allocations: 9.109 kB / 0.932 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.6713, allocations: 1.531 kB / 0.932 GB, free: 3.066 MB / 0.7169 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.144e-05/0.6714, allocations: 116.7 kB / 0.9322 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.6714, allocations: 1.219 kB / 0.9322 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.6715, allocations: 6.594 kB / 0.9322 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6715, allocations: 4 kB / 0.9322 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6715, allocations: 0 / 0.9322 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.6715, allocations: 86.67 kB / 0.9322 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.6715, allocations: 0 / 0.9322 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6716, allocations: 7.172 kB / 0.9323 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.6716, allocations: 0 / 0.9323 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.663e-05/0.6717, allocations: 112.1 kB / 0.9324 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001133/0.6719, allocations: 226 kB / 0.9326 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.494e-05/0.6719, allocations: 0 / 0.9326 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.6719, allocations: 87.53 kB / 0.9327 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of Backend: time 2.5e-07/0.6719, allocations: 0 / 0.9327 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.6724, allocations: 130.3 kB / 0.9328 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0004026/0.6728, allocations: 0.5601 MB / 0.9333 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.003211/0.676, allocations: 0.9726 MB / 0.9343 GB, free: 0.7383 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)