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.00106/0.00106, allocations: 117 kB / 16.37 MB, free: 6.012 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.001178/0.001178, allocations: 188.8 kB / 17.3 MB, free: 5.613 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 281.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 106.5 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1431, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4039/0.547, allocations: 147.8 MB / 0.826 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.5472, allocations: 53.59 kB / 0.826 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.5473, allocations: 0 / 0.826 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.5474, allocations: 3.938 kB / 0.826 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.035e-05/0.5475, allocations: 17.61 kB / 0.826 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.548, allocations: 103.6 kB / 0.8261 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.5481, allocations: 39.84 kB / 0.8262 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.5482, allocations: 0 / 0.8262 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.5482, allocations: 15.98 kB / 0.8262 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.5483, allocations: 11.92 kB / 0.8262 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.5484, allocations: 0 / 0.8262 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.5486, allocations: 91.73 kB / 0.8263 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.5487, allocations: 7.969 kB / 0.8263 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.5487, allocations: 15.94 kB / 0.8263 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.5489, allocations: 63.7 kB / 0.8264 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5489, allocations: 0 / 0.8264 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5489, allocations: 4 kB / 0.8264 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5489, allocations: 0 / 0.8264 GB, free: 10.27 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.0003565/0.5493, allocations: 342 kB / 0.8267 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.5493, allocations: 12.02 kB / 0.8267 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.5496, allocations: 20.92 kB / 0.8267 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5497, allocations: 165.1 kB / 0.8269 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.5497, allocations: 37.58 kB / 0.8269 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.5498, allocations: 0 / 0.8269 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5499, allocations: 49.67 kB / 0.827 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5499, allocations: 0 / 0.827 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5499, allocations: 0 / 0.827 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5499, allocations: 4 kB / 0.827 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.55, allocations: 19.98 kB / 0.827 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.5503, allocations: 260.8 kB / 0.8273 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/0.5504, allocations: 26.52 kB / 0.8273 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.5504, allocations: 8.844 kB / 0.8273 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.5504, allocations: 0 / 0.8273 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5505, allocations: 34.56 kB / 0.8273 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5505, allocations: 0 / 0.8273 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.5506, allocations: 37.7 kB / 0.8274 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.5506, allocations: 51.41 kB / 0.8274 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.5507, allocations: 109.8 kB / 0.8275 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.5507, allocations: 25.7 kB / 0.8275 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.5508, allocations: 91.98 kB / 0.8276 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.5508, allocations: 16.02 kB / 0.8276 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.5508, allocations: 17.72 kB / 0.8277 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.5509, allocations: 310.8 kB / 0.828 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.551, allocations: 4 kB / 0.828 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.551, allocations: 26.56 kB / 0.828 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.551, allocations: 30.52 kB / 0.828 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.551, allocations: 0 / 0.828 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.059e-05/0.5511, allocations: 57.62 kB / 0.8281 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5512, allocations: 4 kB / 0.8281 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5512, allocations: 0 / 0.8281 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5512, allocations: 7.938 kB / 0.8281 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.5512, allocations: 4 kB / 0.8281 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5513, allocations: 3.938 kB / 0.8281 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.5513, allocations: 12 kB / 0.8281 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.5513, allocations: 0 / 0.8281 GB, free: 8.27 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.069e-05/0.5514, allocations: 113.8 kB / 0.8282 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5514, allocations: 0 / 0.8282 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.5514, allocations: 11.12 kB / 0.8282 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5514, allocations: 0 / 0.8282 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5515, allocations: 3.938 kB / 0.8282 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5515, allocations: 0 / 0.8282 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.5517, allocations: 351.6 kB / 0.8286 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5517, allocations: 0 / 0.8286 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.5517, allocations: 0 / 0.8286 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5517, allocations: 11.88 kB / 0.8286 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.5518, allocations: 0 / 0.8286 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5518, allocations: 0 / 0.8286 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5518, allocations: 3.938 kB / 0.8286 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.5518, allocations: 65.11 kB / 0.8286 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.5519, allocations: 81.09 kB / 0.8287 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.5519, allocations: 3.938 kB / 0.8287 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.552, allocations: 4 kB / 0.8287 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.552, allocations: 0 / 0.8287 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.552, allocations: 0 / 0.8287 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.5521, allocations: 87.27 kB / 0.8288 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5521, allocations: 0 / 0.8288 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000187/0.5523, allocations: 12 kB / 0.8288 GB, free: 7.434 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.009e-05/0.5524, allocations: 99.28 kB / 0.8289 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.5524, allocations: 11.94 kB / 0.8289 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5525, allocations: 4 kB / 0.8289 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.5525, allocations: 0 / 0.8289 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.5527, allocations: 11.98 kB / 0.8289 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.5529, allocations: 117.5 kB / 0.829 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.5531, allocations: 0.6729 MB / 0.8297 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.5532, allocations: 7.984 kB / 0.8297 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.5532, allocations: 11.44 kB / 0.8297 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5532, allocations: 3.938 kB / 0.8297 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of Templates: time 0.002288/0.5555, allocations: 0.5034 MB / 0.8302 GB, free: 5.977 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)