Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 197.3 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 118.4 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.98 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2712, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1405/0.4117, allocations: 145.6 MB / 1.36 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.4119, allocations: 47.86 kB / 1.36 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.4119, allocations: 4 kB / 1.36 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.4121, allocations: 3.938 kB / 1.36 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.4122, allocations: 19.91 kB / 1.36 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.4126, allocations: 95.66 kB / 1.36 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.4127, allocations: 63.81 kB / 1.36 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.4128, allocations: 0 / 1.36 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.4128, allocations: 11.98 kB / 1.36 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.4129, allocations: 19.94 kB / 1.361 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4129, allocations: 4 kB / 1.361 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.4132, allocations: 75.78 kB / 1.361 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.4132, allocations: 11.91 kB / 1.361 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.4133, allocations: 12 kB / 1.361 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.4135, allocations: 73.89 kB / 1.361 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4135, allocations: 0 / 1.361 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4135, allocations: 4 kB / 1.361 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4135, allocations: 0 / 1.361 GB, free: 2.633 MB / 0.8542 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.00048/0.414, allocations: 343.4 kB / 1.361 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.414, allocations: 11.98 kB / 1.361 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.4143, allocations: 16.92 kB / 1.361 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4144, allocations: 164.4 kB / 1.361 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.4145, allocations: 29.64 kB / 1.361 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4145, allocations: 0 / 1.361 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4147, allocations: 57.66 kB / 1.361 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4147, allocations: 3.984 kB / 1.361 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4147, allocations: 0 / 1.361 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.4148, allocations: 4 kB / 1.361 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.4148, allocations: 19.92 kB / 1.361 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.4153, allocations: 256.9 kB / 1.362 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.165e-05/0.4153, allocations: 26.58 kB / 1.362 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.4153, allocations: 4.859 kB / 1.362 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.4153, allocations: 0 / 1.362 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.4154, allocations: 38.61 kB / 1.362 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.688e-06/0.4154, allocations: 0 / 1.362 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.4155, allocations: 41.48 kB / 1.362 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.4156, allocations: 55.34 kB / 1.362 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.4157, allocations: 110 kB / 1.362 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4157, allocations: 25.7 kB / 1.362 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4158, allocations: 95.98 kB / 1.362 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.4158, allocations: 0 / 1.362 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.4158, allocations: 21.62 kB / 1.362 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4159, allocations: 314.8 kB / 1.362 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.416, allocations: 4 kB / 1.362 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-05/0.416, allocations: 26.58 kB / 1.362 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.416, allocations: 34.5 kB / 1.362 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4161, allocations: 3.938 kB / 1.362 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.409e-05/0.4161, allocations: 49.64 kB / 1.362 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4162, allocations: 11.98 kB / 1.362 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4162, allocations: 96 / 1.362 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4162, allocations: 4 kB / 1.362 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.4162, allocations: 8 kB / 1.362 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4163, allocations: 7.875 kB / 1.362 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.4163, allocations: 0 / 1.362 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.4163, allocations: 4.25 kB / 1.362 GB, free: 0.6289 MB / 0.8542 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.802e-05/0.4164, allocations: 106.5 kB / 1.363 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4164, allocations: 4 kB / 1.363 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.4165, allocations: 11.11 kB / 1.363 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4165, allocations: 4 kB / 1.363 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4165, allocations: 7.938 kB / 1.363 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.4165, allocations: 0 / 1.363 GB, free: 496 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.4167, allocations: 342.7 kB / 1.363 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4167, allocations: 0 / 1.363 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.4168, allocations: 4 kB / 1.363 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4168, allocations: 3.938 kB / 1.363 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.4168, allocations: 3.938 kB / 1.363 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4168, allocations: 0 / 1.363 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4168, allocations: 4.031 kB / 1.363 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.4171, allocations: 0.6044 MB / 1.363 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.4172, allocations: 77.11 kB / 1.364 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4172, allocations: 7.938 kB / 1.364 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.4173, allocations: 4 kB / 1.364 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.4173, allocations: 4.031 kB / 1.364 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4173, allocations: 7.984 kB / 1.364 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.4174, allocations: 79.28 kB / 1.364 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4174, allocations: 0 / 1.364 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003131/0.4177, allocations: 4 kB / 1.364 GB, free: 15.21 MB / 0.8698 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.0001154/0.4178, allocations: 103.2 kB / 1.364 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.4179, allocations: 19.92 kB / 1.364 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4179, allocations: 4.188 kB / 1.364 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.4179, allocations: 4 kB / 1.364 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4182, allocations: 0 / 1.364 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.4185, allocations: 219 kB / 1.364 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4188, allocations: 0.677 MB / 1.365 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.832e-05/0.4189, allocations: 12.14 kB / 1.365 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.4189, allocations: 7.438 kB / 1.365 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4189, allocations: 0 / 1.365 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of Templates: time 0.002297/0.4212, allocations: 0.5014 MB / 1.365 GB, free: 13.63 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)