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.001362/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001301/0.001301, allocations: 196.6 kB / 16.14 MB, free: 6.715 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 298.9 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 100.3 kB / 0.6057 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1659, allocations: 89.16 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4821/0.6481, allocations: 145.6 MB / 0.835 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.6483, allocations: 59.78 kB / 0.835 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.6483, allocations: 0 / 0.835 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.6484, allocations: 1.062 kB / 0.835 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.6485, allocations: 12.67 kB / 0.835 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.6489, allocations: 96.66 kB / 0.8351 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.649, allocations: 57.78 kB / 0.8352 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.6491, allocations: 0.9688 kB / 0.8352 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.6491, allocations: 17.38 kB / 0.8352 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.6492, allocations: 18.94 kB / 0.8352 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.6492, allocations: 1.156 kB / 0.8352 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.6495, allocations: 80.36 kB / 0.8353 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.6495, allocations: 15.69 kB / 0.8353 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.6496, allocations: 9.406 kB / 0.8353 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.6497, allocations: 68.17 kB / 0.8354 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6497, allocations: 1.375 kB / 0.8354 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6497, allocations: 0 / 0.8354 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.6498, allocations: 3.938 kB / 0.8354 GB, free: 15.58 MB / 0.5762 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.0004069/0.6502, allocations: 345.2 kB / 0.8357 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6502, allocations: 9.219 kB / 0.8357 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.6504, allocations: 24.38 kB / 0.8357 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.6506, allocations: 169.6 kB / 0.8359 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.6506, allocations: 31.83 kB / 0.8359 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.6507, allocations: 1.219 kB / 0.8359 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.6508, allocations: 51.98 kB / 0.836 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6508, allocations: 0 / 0.836 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6508, allocations: 1.5 kB / 0.836 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.6509, allocations: 1.406 kB / 0.836 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.6509, allocations: 21.86 kB / 0.836 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.6513, allocations: 257 kB / 0.8363 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/0.6514, allocations: 21.42 kB / 0.8363 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.6514, allocations: 6.266 kB / 0.8363 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.6514, allocations: 0 / 0.8363 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6514, allocations: 32 kB / 0.8363 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.6514, allocations: 0 / 0.8363 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.6516, allocations: 39.11 kB / 0.8363 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.6516, allocations: 51.41 kB / 0.8364 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6517, allocations: 117.7 kB / 0.8365 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6518, allocations: 27.23 kB / 0.8365 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.6518, allocations: 89.23 kB / 0.8366 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.6518, allocations: 0 / 0.8366 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.6519, allocations: 21.98 kB / 0.8366 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.652, allocations: 312.2 kB / 0.8369 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.652, allocations: 7.812 kB / 0.8369 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.6521, allocations: 26.72 kB / 0.837 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.6521, allocations: 34.77 kB / 0.837 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6521, allocations: 0 / 0.837 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.545e-05/0.6522, allocations: 57.75 kB / 0.8371 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6522, allocations: 7.688 kB / 0.8371 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6523, allocations: 5.422 kB / 0.8371 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.6523, allocations: 1.406 kB / 0.8371 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.6523, allocations: 7.031 kB / 0.8371 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6523, allocations: 9.188 kB / 0.8371 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.6524, allocations: 1.375 kB / 0.8371 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.6524, allocations: 1.094 kB / 0.8371 GB, free: 13.73 MB / 0.5762 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 9.245e-05/0.6525, allocations: 120.3 kB / 0.8372 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.6525, allocations: 2.438 kB / 0.8372 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.6525, allocations: 3.125 kB / 0.8372 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6526, allocations: 5.281 kB / 0.8372 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6526, allocations: 3.938 kB / 0.8372 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.6526, allocations: 0 / 0.8372 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.6529, allocations: 339.5 kB / 0.8375 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6529, allocations: 1.469 kB / 0.8375 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.6529, allocations: 9.141 kB / 0.8376 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.6529, allocations: 7.922 kB / 0.8376 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.6529, allocations: 3.812 kB / 0.8376 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6529, allocations: 4.031 kB / 0.8376 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6529, allocations: 0 / 0.8376 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.906e-05/0.653, allocations: 64.33 kB / 0.8376 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6531, allocations: 78.52 kB / 0.8377 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.6531, allocations: 7.922 kB / 0.8377 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.6532, allocations: 2.406 kB / 0.8377 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.6532, allocations: 1.406 kB / 0.8377 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.6532, allocations: 4.031 kB / 0.8377 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.6533, allocations: 89.11 kB / 0.8378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6533, allocations: 0 / 0.8378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00019/0.6535, allocations: 5.625 kB / 0.8378 GB, free: 12.94 MB / 0.5762 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.0001025/0.6536, allocations: 97.28 kB / 0.8379 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.6536, allocations: 16.03 kB / 0.8379 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6537, allocations: 1.344 kB / 0.8379 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.6537, allocations: 5.562 kB / 0.8379 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.6539, allocations: 3.156 kB / 0.8379 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.6541, allocations: 119.5 kB / 0.838 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6544, allocations: 0.6762 MB / 0.8387 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.016e-05/0.6545, allocations: 12.42 kB / 0.8387 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.6545, allocations: 8.5 kB / 0.8387 GB, free: 12 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.6545, allocations: 4.906 kB / 0.8387 GB, free: 12 MB / 0.5762 GB Notification: Performance of Templates: time 0.002645/0.6572, allocations: 489 kB / 0.8392 GB, free: 11.78 MB / 0.5762 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)