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/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7951/0.7951, allocations: 143.4 MB / 158.3 MB, free: 5.641 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 173.1 kB / 191.5 MB, free: 5.664 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 95.61 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001675, allocations: 271.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 14.19 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2002, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.07/11.27, allocations: 4.368 GB / 5.142 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/11.27, allocations: 90.81 kB / 5.142 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08349/11.36, allocations: 47.13 MB / 5.188 GB, free: 99.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.704e-06/11.36, allocations: 0 / 5.188 GB, free: 99.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.073e-06/11.36, allocations: 4 kB / 5.188 GB, free: 99.39 MB / 0.7136 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.0003134/11.36, allocations: 334.7 kB / 5.188 GB, free: 99.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/11.36, allocations: 12.03 kB / 5.188 GB, free: 99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/11.36, allocations: 24.55 kB / 5.188 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.649e-05/11.36, allocations: 159.1 kB / 5.189 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/11.36, allocations: 29.7 kB / 5.189 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/11.36, allocations: 0 / 5.189 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/11.36, allocations: 49.48 kB / 5.189 GB, free: 98.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/11.36, allocations: 4 kB / 5.189 GB, free: 98.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/11.36, allocations: 0 / 5.189 GB, free: 98.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/11.36, allocations: 11.27 kB / 5.189 GB, free: 98.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/11.36, allocations: 19.55 kB / 5.189 GB, free: 98.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/11.36, allocations: 255.9 kB / 5.189 GB, free: 98.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/11.36, allocations: 14.89 kB / 5.189 GB, free: 98.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/11.36, allocations: 4 kB / 5.189 GB, free: 98.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/11.36, allocations: 38.58 kB / 5.189 GB, free: 98.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.773e-06/11.36, allocations: 0 / 5.189 GB, free: 98.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/11.36, allocations: 40.95 kB / 5.189 GB, free: 98.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/11.36, allocations: 51.41 kB / 5.189 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/11.36, allocations: 104.4 kB / 5.189 GB, free: 98.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/11.36, allocations: 25.7 kB / 5.189 GB, free: 98.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/11.36, allocations: 104 kB / 5.189 GB, free: 97.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/11.36, allocations: 11.09 kB / 5.189 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/11.36, allocations: 0 / 5.189 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/11.36, allocations: 310.8 kB / 5.19 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/11.36, allocations: 4 kB / 5.19 GB, free: 97.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/11.36, allocations: 25.94 kB / 5.19 GB, free: 97.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.167e-05/11.36, allocations: 15.94 kB / 5.19 GB, free: 97.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/11.36, allocations: 0 / 5.19 GB, free: 97.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.8e-05/11.36, allocations: 57.12 kB / 5.19 GB, free: 97.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/11.36, allocations: 8.781 kB / 5.19 GB, free: 97.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/11.36, allocations: 3.953 kB / 5.19 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/11.36, allocations: 0 / 5.19 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/11.36, allocations: 8 kB / 5.19 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/11.36, allocations: 0 / 5.19 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/11.36, allocations: 0 / 5.19 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/11.36, allocations: 8.094 kB / 5.19 GB, free: 97.51 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/11.36, allocations: 106.4 kB / 5.19 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/11.36, allocations: 7.906 kB / 5.19 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.836e-05/11.36, allocations: 10.73 kB / 5.19 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/11.36, allocations: 3.953 kB / 5.19 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/11.36, allocations: 0 / 5.19 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/11.36, allocations: 0 / 5.19 GB, free: 97.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/11.36, allocations: 346.6 kB / 5.19 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/11.36, allocations: 0 / 5.19 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/11.36, allocations: 4 kB / 5.19 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/11.36, allocations: 3.953 kB / 5.19 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/11.36, allocations: 256 / 5.19 GB, free: 96.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/11.36, allocations: 7.984 kB / 5.19 GB, free: 96.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/11.36, allocations: 0 / 5.19 GB, free: 96.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.193e-05/11.36, allocations: 60.8 kB / 5.19 GB, free: 96.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/11.36, allocations: 85.16 kB / 5.19 GB, free: 96.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/11.36, allocations: 3.953 kB / 5.19 GB, free: 96.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/11.36, allocations: 7.984 kB / 5.19 GB, free: 96.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/11.36, allocations: 0 / 5.19 GB, free: 96.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/11.36, allocations: 4 kB / 5.19 GB, free: 96.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.63e-05/11.36, allocations: 82.97 kB / 5.19 GB, free: 96.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/11.36, allocations: 3.938 kB / 5.19 GB, free: 96.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000324/11.36, allocations: 37.86 kB / 5.191 GB, free: 96.68 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007314/11.36, allocations: 0.561 MB / 5.191 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/11.36, allocations: 11.98 kB / 5.191 GB, free: 96.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/11.36, allocations: 192 / 5.191 GB, free: 96.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/11.36, allocations: 15.5 kB / 5.191 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/11.36, allocations: 2.297 kB / 5.191 GB, free: 96.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/11.36, allocations: 113.1 kB / 5.191 GB, free: 95.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/11.36, allocations: 0.6809 MB / 5.192 GB, free: 95.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.719e-05/11.36, allocations: 12.05 kB / 5.192 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/11.36, allocations: 7.438 kB / 5.192 GB, free: 95.24 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/11.36, allocations: 0 / 5.192 GB, free: 95.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.009905/11.37, allocations: 7.927 MB / 5.2 GB, free: 87.35 MB / 0.7136 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)