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.001209/0.001209, allocations: 108.1 kB / 15.99 MB, free: 6.355 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.001265/0.001265, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.19/1.19, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 290.3 kB / 291 MB, free: 14.68 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8432/0.8432, allocations: 169.2 MB / 0.4985 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 88.17 kB / 0.5953 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1539, allocations: 86.98 MB / 0.6803 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3794/0.5333, allocations: 145.8 MB / 0.8226 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.5335, allocations: 50.36 kB / 0.8227 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.5335, allocations: 0 / 0.8227 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.439e-05/0.5336, allocations: 4 kB / 0.8227 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.5337, allocations: 11.92 kB / 0.8227 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.5341, allocations: 95.59 kB / 0.8228 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.5342, allocations: 43.78 kB / 0.8228 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.5343, allocations: 0 / 0.8228 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.5343, allocations: 15.98 kB / 0.8228 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.5344, allocations: 15.98 kB / 0.8228 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5344, allocations: 0 / 0.8228 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.5346, allocations: 87.7 kB / 0.8229 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.5347, allocations: 11.94 kB / 0.8229 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.5347, allocations: 7.984 kB / 0.8229 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.5348, allocations: 46.61 kB / 0.823 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5349, allocations: 0 / 0.823 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5349, allocations: 7.938 kB / 0.823 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5349, allocations: 0 / 0.823 GB, free: 13.31 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.0003702/0.5353, allocations: 339.5 kB / 0.8233 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.5353, allocations: 8.031 kB / 0.8233 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.5355, allocations: 16.92 kB / 0.8233 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5356, allocations: 169.2 kB / 0.8235 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.5357, allocations: 37.58 kB / 0.8235 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.5357, allocations: 4 kB / 0.8235 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5358, allocations: 41.69 kB / 0.8236 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5358, allocations: 4 kB / 0.8236 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5359, allocations: 0 / 0.8236 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.5359, allocations: 3.984 kB / 0.8236 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.5359, allocations: 19.98 kB / 0.8236 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.5363, allocations: 260.8 kB / 0.8238 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.5364, allocations: 18.52 kB / 0.8239 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.5364, allocations: 12.95 kB / 0.8239 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.5364, allocations: 1.031 kB / 0.8239 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.5364, allocations: 30.56 kB / 0.8239 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5364, allocations: 0 / 0.8239 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.5365, allocations: 29.7 kB / 0.8239 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5366, allocations: 67.47 kB / 0.824 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.5367, allocations: 110.7 kB / 0.8241 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5367, allocations: 25.7 kB / 0.8241 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.5367, allocations: 91.97 kB / 0.8242 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.5368, allocations: 3.906 kB / 0.8242 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.5368, allocations: 17.72 kB / 0.8242 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.5369, allocations: 318.8 kB / 0.8245 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.5369, allocations: 0.8438 kB / 0.8245 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.537, allocations: 30.56 kB / 0.8246 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.537, allocations: 38.5 kB / 0.8246 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.537, allocations: 4 kB / 0.8246 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.296e-05/0.5371, allocations: 57.34 kB / 0.8247 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5371, allocations: 11.94 kB / 0.8247 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5371, allocations: 0 / 0.8247 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5371, allocations: 0 / 0.8247 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.5372, allocations: 8 kB / 0.8247 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5372, allocations: 7.875 kB / 0.8247 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.5372, allocations: 7.906 kB / 0.8247 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.5373, allocations: 0 / 0.8247 GB, free: 11.31 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 6.688e-05/0.5373, allocations: 113.8 kB / 0.8248 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.5374, allocations: 0 / 0.8248 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.5374, allocations: 11.11 kB / 0.8248 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.5374, allocations: 0 / 0.8248 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5374, allocations: 3.938 kB / 0.8248 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5374, allocations: 4 kB / 0.8248 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.5376, allocations: 342.7 kB / 0.8252 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5377, allocations: 0 / 0.8252 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.5377, allocations: 0 / 0.8252 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5377, allocations: 3.938 kB / 0.8252 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.5377, allocations: 4.031 kB / 0.8252 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5377, allocations: 3.984 kB / 0.8252 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5377, allocations: 4 kB / 0.8252 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.5378, allocations: 57.08 kB / 0.8252 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.5378, allocations: 77.11 kB / 0.8253 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5378, allocations: 7.938 kB / 0.8253 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.5379, allocations: 3.984 kB / 0.8253 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.5379, allocations: 4.031 kB / 0.8253 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5379, allocations: 4 kB / 0.8253 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.538, allocations: 84.66 kB / 0.8254 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.538, allocations: 0 / 0.8254 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001782/0.5382, allocations: 4 kB / 0.8254 GB, free: 10.48 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.888e-05/0.5383, allocations: 103.2 kB / 0.8255 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.403e-05/0.5384, allocations: 12 kB / 0.8255 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5384, allocations: 8.125 kB / 0.8255 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-06/0.5384, allocations: 4 kB / 0.8255 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.5386, allocations: 5.016 kB / 0.8255 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.5388, allocations: 146.1 kB / 0.8257 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5391, allocations: 0.6768 MB / 0.8263 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.5391, allocations: 11.38 kB / 0.8263 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5391, allocations: 0 / 0.8263 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of Templates: time 0.001579/0.5407, allocations: 0.5712 MB / 0.8269 GB, free: 8.898 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)