Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 289.7 MB / 302.2 MB, free: 2.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 180.6 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.2 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 88.44 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.732e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.25/13.55, allocations: 4.612 GB / 5.592 GB, free: 200.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/13.55, allocations: 78.12 kB / 5.592 GB, free: 200.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07863/13.63, allocations: 45.14 MB / 5.636 GB, free: 155.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/13.63, allocations: 0 / 5.636 GB, free: 155.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.093e-06/13.63, allocations: 0 / 5.636 GB, free: 155.1 MB / 0.948 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.0002634/13.63, allocations: 342.4 kB / 5.636 GB, free: 154.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/13.63, allocations: 8.688 kB / 5.636 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/13.63, allocations: 18.02 kB / 5.636 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/13.63, allocations: 159.1 kB / 5.636 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/13.63, allocations: 37.7 kB / 5.636 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/13.63, allocations: 3.984 kB / 5.636 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/13.63, allocations: 45.64 kB / 5.636 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/13.63, allocations: 0 / 5.636 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/13.63, allocations: 1.125 kB / 5.636 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/13.63, allocations: 7.984 kB / 5.636 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/13.63, allocations: 15.94 kB / 5.636 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/13.63, allocations: 260.9 kB / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.678e-05/13.63, allocations: 18.64 kB / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/13.63, allocations: 8.859 kB / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/13.63, allocations: 0 / 5.637 GB, free: 154.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/13.63, allocations: 30.56 kB / 5.637 GB, free: 154 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/13.63, allocations: 0 / 5.637 GB, free: 154 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/13.63, allocations: 36.02 kB / 5.637 GB, free: 154 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/13.63, allocations: 63.39 kB / 5.637 GB, free: 153.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/13.63, allocations: 93 kB / 5.637 GB, free: 153.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/13.63, allocations: 34.47 kB / 5.637 GB, free: 153.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/13.63, allocations: 88.67 kB / 5.637 GB, free: 153.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-06/13.63, allocations: 7.844 kB / 5.637 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/13.63, allocations: 0 / 5.637 GB, free: 153.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/13.63, allocations: 318.8 kB / 5.637 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/13.63, allocations: 0 / 5.637 GB, free: 153.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/13.63, allocations: 30.58 kB / 5.637 GB, free: 153.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/13.63, allocations: 7.984 kB / 5.637 GB, free: 153.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/13.63, allocations: 0 / 5.637 GB, free: 153.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.297e-05/13.63, allocations: 53.59 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/13.63, allocations: 4.656 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/13.63, allocations: 8.094 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/13.63, allocations: 3.984 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/13.63, allocations: 7.938 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/13.63, allocations: 4 kB / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/13.63, allocations: 0 / 5.637 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/13.63, allocations: 7.984 kB / 5.637 GB, free: 153.2 MB / 0.948 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 () * 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 4.282e-05/13.63, allocations: 105.5 kB / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/13.63, allocations: 7.859 kB / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/13.63, allocations: 7.125 kB / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/13.63, allocations: 4.094 kB / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/13.63, allocations: 3.984 kB / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/13.63, allocations: 0 / 5.638 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/13.63, allocations: 352 kB / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/13.63, allocations: 4 kB / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/13.63, allocations: 0 / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/13.63, allocations: 4 kB / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/13.63, allocations: 0 / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/13.63, allocations: 0 / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/13.63, allocations: 4.031 kB / 5.638 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.894e-05/13.63, allocations: 65.08 kB / 5.638 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/13.63, allocations: 77.11 kB / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/13.63, allocations: 0 / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/13.63, allocations: 4 kB / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/13.63, allocations: 0 / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/13.63, allocations: 8.906 kB / 5.638 GB, free: 152.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.656e-05/13.63, allocations: 91.27 kB / 5.638 GB, free: 152.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/13.63, allocations: 0 / 5.638 GB, free: 152.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003189/13.63, allocations: 39.98 kB / 5.638 GB, free: 152.4 MB / 0.948 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 () * 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.0006134/13.63, allocations: 0.5568 MB / 5.639 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/13.63, allocations: 12 kB / 5.639 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/13.63, allocations: 1.125 kB / 5.639 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/13.63, allocations: 4 kB / 5.639 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/13.63, allocations: 9.047 kB / 5.639 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/13.64, allocations: 56.61 kB / 5.639 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/13.64, allocations: 0.6851 MB / 5.639 GB, free: 151 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.362e-05/13.64, allocations: 4 kB / 5.639 GB, free: 151 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/13.64, allocations: 7.438 kB / 5.639 GB, free: 151 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/13.64, allocations: 0 / 5.639 GB, free: 151 MB / 0.948 GB Notification: Performance of Templates: time 0.01108/13.65, allocations: 9.603 MB / 5.649 GB, free: 141.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)