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.001141/0.001141, allocations: 103.8 kB / 16.29 MB, free: 6.43 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.001241/0.001241, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.444/1.444, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.801/1.801, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.002242/0.002242, allocations: 63.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.25, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6003/0.8503, allocations: 147.8 MB / 0.9284 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.8506, allocations: 53.98 kB / 0.9285 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.8506, allocations: 0 / 0.9285 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.8508, allocations: 3.938 kB / 0.9285 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.8508, allocations: 14.69 kB / 0.9285 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.8514, allocations: 92.42 kB / 0.9286 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.8515, allocations: 35.66 kB / 0.9286 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.8516, allocations: 1.156 kB / 0.9286 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.8517, allocations: 20.3 kB / 0.9287 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.8517, allocations: 13.58 kB / 0.9287 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.8518, allocations: 0.875 kB / 0.9287 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.8521, allocations: 85.28 kB / 0.9287 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.8521, allocations: 11.27 kB / 0.9288 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.8522, allocations: 9.438 kB / 0.9288 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.8524, allocations: 63.17 kB / 0.9288 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8524, allocations: 3.938 kB / 0.9288 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8524, allocations: 0 / 0.9288 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8524, allocations: 1.344 kB / 0.9288 GB, free: 5.73 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.0004793/0.8529, allocations: 339.6 kB / 0.9292 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.8529, allocations: 9.688 kB / 0.9292 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.8532, allocations: 19.95 kB / 0.9292 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.8534, allocations: 173.7 kB / 0.9294 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.8534, allocations: 31.8 kB / 0.9294 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.8535, allocations: 1.125 kB / 0.9294 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.8536, allocations: 56.84 kB / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8537, allocations: 0 / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.8537, allocations: 0 / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.8537, allocations: 2.25 kB / 0.9294 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.8538, allocations: 18.27 kB / 0.9295 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.8542, allocations: 261.1 kB / 0.9297 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.8543, allocations: 20.27 kB / 0.9297 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.8543, allocations: 8.266 kB / 0.9297 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.8543, allocations: 0 / 0.9297 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.8544, allocations: 31.72 kB / 0.9298 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8544, allocations: 0 / 0.9298 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.8545, allocations: 39.55 kB / 0.9298 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.8546, allocations: 56.94 kB / 0.9299 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.8547, allocations: 112.9 kB / 0.93 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.8547, allocations: 25.7 kB / 0.93 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.8548, allocations: 90.3 kB / 0.9301 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-06/0.8548, allocations: 5.125 kB / 0.9301 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.8548, allocations: 21.52 kB / 0.9301 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.855, allocations: 310.8 kB / 0.9304 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.855, allocations: 4.656 kB / 0.9304 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.855, allocations: 30.22 kB / 0.9304 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.8551, allocations: 30.67 kB / 0.9305 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8551, allocations: 0 / 0.9305 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.666e-05/0.8552, allocations: 58.41 kB / 0.9305 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.8552, allocations: 5.219 kB / 0.9305 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8552, allocations: 1.25 kB / 0.9305 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8552, allocations: 5.281 kB / 0.9305 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.8553, allocations: 5.312 kB / 0.9305 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8553, allocations: 7.469 kB / 0.9305 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.8554, allocations: 2.375 kB / 0.9305 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.8554, allocations: 1.156 kB / 0.9305 GB, free: 3.898 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.677e-05/0.8555, allocations: 116 kB / 0.9306 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.8555, allocations: 1.562 kB / 0.9307 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.8555, allocations: 4.781 kB / 0.9307 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8555, allocations: 8.484 kB / 0.9307 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.8555, allocations: 9.219 kB / 0.9307 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8556, allocations: 0 / 0.9307 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.8558, allocations: 342.4 kB / 0.931 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.8558, allocations: 1.188 kB / 0.931 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.8558, allocations: 5.984 kB / 0.931 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8559, allocations: 5.25 kB / 0.931 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.8559, allocations: 0 / 0.931 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8559, allocations: 0 / 0.931 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.8559, allocations: 5.406 kB / 0.931 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.856, allocations: 59.58 kB / 0.9311 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.856, allocations: 77.11 kB / 0.9311 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.856, allocations: 11.05 kB / 0.9312 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.8561, allocations: 2.156 kB / 0.9312 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.8561, allocations: 1.375 kB / 0.9312 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.8561, allocations: 0 / 0.9312 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.8562, allocations: 92.2 kB / 0.9312 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8562, allocations: 1.375 kB / 0.9312 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002027/0.8564, allocations: 6.656 kB / 0.9313 GB, free: 3.105 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.0001019/0.8565, allocations: 96.78 kB / 0.9313 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.8566, allocations: 16.22 kB / 0.9314 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8566, allocations: 1.344 kB / 0.9314 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-06/0.8566, allocations: 1.625 kB / 0.9314 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.8568, allocations: 10.86 kB / 0.9314 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.8571, allocations: 110 kB / 0.9315 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.8574, allocations: 0.6769 MB / 0.9321 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.8574, allocations: 13.02 kB / 0.9322 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.8574, allocations: 13 kB / 0.9322 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8574, allocations: 0 / 0.9322 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.002467/0.8599, allocations: 468.8 kB / 0.9326 GB, free: 1.98 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)