Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001067/0.001067, allocations: 107.1 kB / 16.36 MB, free: 6.34 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.00098/0.00098, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 287.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9066/0.9066, allocations: 169.2 MB / 0.4989 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 95.28 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1623, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3953/0.5576, allocations: 147.8 MB / 0.826 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.5578, allocations: 45.62 kB / 0.826 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.5578, allocations: 1.688 kB / 0.826 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.558, allocations: 15.86 kB / 0.826 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.5581, allocations: 11.92 kB / 0.826 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.5586, allocations: 103.6 kB / 0.8261 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.5587, allocations: 35.86 kB / 0.8262 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.5588, allocations: 3.984 kB / 0.8262 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.5588, allocations: 15.98 kB / 0.8262 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.222e-05/0.5589, allocations: 15.92 kB / 0.8262 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.5589, allocations: 3.984 kB / 0.8262 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.5592, allocations: 87.73 kB / 0.8263 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.5592, allocations: 7.984 kB / 0.8263 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.5593, allocations: 11.98 kB / 0.8263 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.5594, allocations: 67.66 kB / 0.8264 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5594, allocations: 0 / 0.8264 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5594, allocations: 0 / 0.8264 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.5594, allocations: 4 kB / 0.8264 GB, free: 10.33 MB / 0.5919 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.0003693/0.5598, allocations: 342 kB / 0.8267 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5599, allocations: 8.031 kB / 0.8267 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.5601, allocations: 24.86 kB / 0.8267 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.5602, allocations: 161.2 kB / 0.8269 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.5603, allocations: 33.64 kB / 0.8269 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.5603, allocations: 3.984 kB / 0.8269 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5604, allocations: 49.67 kB / 0.827 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5604, allocations: 0 / 0.827 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5605, allocations: 0.875 kB / 0.827 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5605, allocations: 4 kB / 0.827 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.5605, allocations: 23.92 kB / 0.827 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.5609, allocations: 264.8 kB / 0.8272 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/0.5609, allocations: 14.58 kB / 0.8273 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.561, allocations: 8.922 kB / 0.8273 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.561, allocations: 0 / 0.8273 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.561, allocations: 34.56 kB / 0.8273 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.561, allocations: 0 / 0.8273 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.5611, allocations: 45.62 kB / 0.8273 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5612, allocations: 51.41 kB / 0.8274 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.5613, allocations: 109.7 kB / 0.8275 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.5613, allocations: 25.7 kB / 0.8275 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.5613, allocations: 91.97 kB / 0.8276 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-06/0.5613, allocations: 12.03 kB / 0.8276 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5615, allocations: 13.72 kB / 0.8276 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5616, allocations: 314.8 kB / 0.8279 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.5616, allocations: 3.984 kB / 0.8279 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.5616, allocations: 26.58 kB / 0.828 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.5617, allocations: 34.52 kB / 0.828 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5617, allocations: 0 / 0.828 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.645e-05/0.5618, allocations: 53.62 kB / 0.8281 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5618, allocations: 6.344 kB / 0.8281 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5618, allocations: 0 / 0.8281 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5618, allocations: 4 kB / 0.8281 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.5619, allocations: 7.984 kB / 0.8281 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5619, allocations: 3.938 kB / 0.8281 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.5619, allocations: 12 kB / 0.8281 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5619, allocations: 0 / 0.8281 GB, free: 8.344 MB / 0.5919 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.053e-05/0.562, allocations: 117.8 kB / 0.8282 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.5621, allocations: 0 / 0.8282 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.5621, allocations: 3.125 kB / 0.8282 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5621, allocations: 4 kB / 0.8282 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5621, allocations: 3.938 kB / 0.8282 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5621, allocations: 0 / 0.8282 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.5624, allocations: 346.8 kB / 0.8285 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.5624, allocations: 3.938 kB / 0.8285 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.5625, allocations: 3.938 kB / 0.8285 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5625, allocations: 4.031 kB / 0.8285 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.5625, allocations: 4 kB / 0.8286 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5625, allocations: 0 / 0.8286 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5625, allocations: 3.984 kB / 0.8286 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.264e-05/0.5626, allocations: 65.09 kB / 0.8286 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.5626, allocations: 81.11 kB / 0.8287 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5626, allocations: 3.938 kB / 0.8287 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.5627, allocations: 0 / 0.8287 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.5627, allocations: 5.375 kB / 0.8287 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.5627, allocations: 0 / 0.8287 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.5628, allocations: 91.27 kB / 0.8288 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5628, allocations: 0 / 0.8288 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001873/0.563, allocations: 8 kB / 0.8288 GB, free: 7.504 MB / 0.5919 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 9.128e-05/0.5631, allocations: 99.28 kB / 0.8289 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.5632, allocations: 19.92 kB / 0.8289 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5632, allocations: 0 / 0.8289 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.5632, allocations: 4 kB / 0.8289 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.5634, allocations: 5.016 kB / 0.8289 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.5636, allocations: 120.6 kB / 0.829 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5639, allocations: 0.6797 MB / 0.8297 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.337e-05/0.5639, allocations: 4 kB / 0.8297 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.5639, allocations: 11.44 kB / 0.8297 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.564, allocations: 3.938 kB / 0.8297 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of Templates: time 0.002586/0.5665, allocations: 0.4984 MB / 0.8302 GB, free: 6.051 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)