Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 105 kB / 16.36 MB, free: 6.301 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.001613/0.001613, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001468/0.001468, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6045/0.8614, allocations: 147.8 MB / 0.9292 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.8616, allocations: 50.55 kB / 0.9292 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.8617, allocations: 0 / 0.9292 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.8618, allocations: 1.375 kB / 0.9292 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.8619, allocations: 14.66 kB / 0.9292 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.8624, allocations: 102.3 kB / 0.9293 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.8625, allocations: 31.03 kB / 0.9293 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.8626, allocations: 5.359 kB / 0.9293 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.8626, allocations: 12.19 kB / 0.9294 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.8627, allocations: 18.84 kB / 0.9294 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.8627, allocations: 1.375 kB / 0.9294 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.863, allocations: 83.28 kB / 0.9295 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.863, allocations: 8.125 kB / 0.9295 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.8631, allocations: 8.109 kB / 0.9295 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.8633, allocations: 68.28 kB / 0.9295 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8633, allocations: 8 kB / 0.9295 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8633, allocations: 0 / 0.9295 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8633, allocations: 0 / 0.9295 GB, free: 5.41 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.0004381/0.8637, allocations: 336.3 kB / 0.9299 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8638, allocations: 9.625 kB / 0.9299 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.864, allocations: 24.11 kB / 0.9299 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.8642, allocations: 162.4 kB / 0.9301 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.8643, allocations: 36.39 kB / 0.9301 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.8643, allocations: 1.375 kB / 0.9301 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.8644, allocations: 51.23 kB / 0.9301 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8644, allocations: 1.375 kB / 0.9301 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8645, allocations: 0 / 0.9301 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.8645, allocations: 1.375 kB / 0.9301 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.8645, allocations: 22.97 kB / 0.9302 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.8649, allocations: 262.1 kB / 0.9304 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.979e-05/0.865, allocations: 19.89 kB / 0.9304 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.865, allocations: 10.17 kB / 0.9304 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.865, allocations: 0 / 0.9304 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.8651, allocations: 31.94 kB / 0.9305 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.8651, allocations: 0 / 0.9305 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.8652, allocations: 43.11 kB / 0.9305 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.8653, allocations: 52.78 kB / 0.9306 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.8653, allocations: 112.2 kB / 0.9307 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.8654, allocations: 27.08 kB / 0.9307 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.8654, allocations: 94.09 kB / 0.9308 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.8654, allocations: 5.281 kB / 0.9308 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.8655, allocations: 16.47 kB / 0.9308 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8656, allocations: 316.3 kB / 0.9311 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.8656, allocations: 7.969 kB / 0.9311 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.8657, allocations: 26.59 kB / 0.9311 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.8657, allocations: 27.05 kB / 0.9312 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8657, allocations: 0 / 0.9312 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.8658, allocations: 60.09 kB / 0.9312 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.8658, allocations: 6 kB / 0.9312 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8658, allocations: 0 / 0.9312 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8659, allocations: 5.188 kB / 0.9312 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.8659, allocations: 6.438 kB / 0.9312 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.8659, allocations: 9.172 kB / 0.9312 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.866, allocations: 5.031 kB / 0.9313 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.866, allocations: 1.156 kB / 0.9313 GB, free: 3.578 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 8.53e-05/0.8661, allocations: 116.4 kB / 0.9314 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.8661, allocations: 1.938 kB / 0.9314 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.8662, allocations: 4.438 kB / 0.9314 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8662, allocations: 0 / 0.9314 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8662, allocations: 5.094 kB / 0.9314 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.8662, allocations: 0 / 0.9314 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.8665, allocations: 350.4 kB / 0.9317 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8665, allocations: 1.219 kB / 0.9317 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.8665, allocations: 5.344 kB / 0.9317 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8665, allocations: 3.938 kB / 0.9317 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8665, allocations: 5.156 kB / 0.9317 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8665, allocations: 0 / 0.9317 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8665, allocations: 0 / 0.9317 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.8666, allocations: 56.7 kB / 0.9318 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.8667, allocations: 81.09 kB / 0.9319 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.8667, allocations: 5.844 kB / 0.9319 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.8668, allocations: 6.719 kB / 0.9319 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.8668, allocations: 0 / 0.9319 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.8668, allocations: 2.188 kB / 0.9319 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.8669, allocations: 94.58 kB / 0.932 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8669, allocations: 0 / 0.932 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001957/0.8671, allocations: 6.781 kB / 0.932 GB, free: 2.789 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.0001008/0.8672, allocations: 96.22 kB / 0.9321 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.8673, allocations: 18.09 kB / 0.9321 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8673, allocations: 0 / 0.9321 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-06/0.8673, allocations: 9.516 kB / 0.9321 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.8676, allocations: 3.031 kB / 0.9321 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.8679, allocations: 136 kB / 0.9322 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.8682, allocations: 0.6767 MB / 0.9329 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.8682, allocations: 11.25 kB / 0.9329 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8682, allocations: 4 kB / 0.9329 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.002227/0.8705, allocations: 0.5445 MB / 0.9334 GB, free: 1.5 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)