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.001107/0.001107, allocations: 111.3 kB / 16.38 MB, free: 6.023 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.001044/0.001044, allocations: 188.6 kB / 17.31 MB, free: 5.617 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.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.00248/0.00248, allocations: 71.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2117, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4741/0.6859, allocations: 147.8 MB / 0.9292 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.686, allocations: 52.97 kB / 0.9292 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.686, allocations: 1.375 kB / 0.9292 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.6862, allocations: 7.938 kB / 0.9292 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.6863, allocations: 14.66 kB / 0.9292 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.6867, allocations: 94.28 kB / 0.9293 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.6868, allocations: 28.38 kB / 0.9294 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.6868, allocations: 5.359 kB / 0.9294 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.6868, allocations: 12.98 kB / 0.9294 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.6869, allocations: 13.42 kB / 0.9294 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.6869, allocations: 1.375 kB / 0.9294 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.6872, allocations: 88.72 kB / 0.9295 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.6872, allocations: 6.734 kB / 0.9295 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.6873, allocations: 13.44 kB / 0.9295 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6874, allocations: 66.69 kB / 0.9296 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6874, allocations: 1.969 kB / 0.9296 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6874, allocations: 0 / 0.9296 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.6874, allocations: 1.406 kB / 0.9296 GB, free: 5.617 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.0003699/0.6878, allocations: 345.5 kB / 0.9299 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6879, allocations: 9.406 kB / 0.9299 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.6881, allocations: 22.89 kB / 0.9299 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6882, allocations: 161.8 kB / 0.9301 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.6883, allocations: 32.17 kB / 0.9301 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.6883, allocations: 5.281 kB / 0.9301 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.6884, allocations: 44.17 kB / 0.9302 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6884, allocations: 0 / 0.9302 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.6884, allocations: 0 / 0.9302 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.6885, allocations: 10.56 kB / 0.9302 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.6885, allocations: 18.2 kB / 0.9302 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.6889, allocations: 256.9 kB / 0.9304 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.103e-05/0.6889, allocations: 20.58 kB / 0.9304 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.6889, allocations: 6.172 kB / 0.9305 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.689, allocations: 4 kB / 0.9305 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.689, allocations: 31.59 kB / 0.9305 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.689, allocations: 1.344 kB / 0.9305 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000123/0.6891, allocations: 42.53 kB / 0.9305 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.6891, allocations: 52.34 kB / 0.9306 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.6892, allocations: 106.1 kB / 0.9307 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6892, allocations: 27.02 kB / 0.9307 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.6893, allocations: 97.5 kB / 0.9308 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.6893, allocations: 13.33 kB / 0.9308 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.6894, allocations: 16.22 kB / 0.9308 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.6895, allocations: 312 kB / 0.9311 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.6895, allocations: 7.797 kB / 0.9311 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.6895, allocations: 23.95 kB / 0.9312 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.6896, allocations: 37.02 kB / 0.9312 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6896, allocations: 1.125 kB / 0.9312 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.6897, allocations: 53.78 kB / 0.9312 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6897, allocations: 6.219 kB / 0.9312 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6897, allocations: 1.156 kB / 0.9312 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6897, allocations: 1 kB / 0.9312 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.6898, allocations: 10.2 kB / 0.9313 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6898, allocations: 5.156 kB / 0.9313 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.6898, allocations: 9.031 kB / 0.9313 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.6898, allocations: 1.906 kB / 0.9313 GB, free: 3.785 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 6.218e-05/0.6899, allocations: 111.7 kB / 0.9314 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.6899, allocations: 2.438 kB / 0.9314 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.69, allocations: 8.75 kB / 0.9314 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.69, allocations: 1.781 kB / 0.9314 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.69, allocations: 0 / 0.9314 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.69, allocations: 90.66 kB / 0.9315 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.69, allocations: 4 kB / 0.9315 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.6901, allocations: 2.562 kB / 0.9315 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.6902, allocations: 4.078 kB / 0.9315 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.373e-05/0.6902, allocations: 109.3 kB / 0.9316 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001063/0.6903, allocations: 209.9 kB / 0.9318 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.212e-05/0.6904, allocations: 1.75 kB / 0.9318 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.6904, allocations: 92.14 kB / 0.9319 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of Backend: time 3.01e-07/0.6904, allocations: 0 / 0.9319 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.6908, allocations: 110.3 kB / 0.932 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0003947/0.6912, allocations: 0.5583 MB / 0.9325 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.002594/0.6938, allocations: 0.6629 MB / 0.9332 GB, free: 1.914 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)