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.805/0.805, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001097/0.001097, allocations: 179.8 kB / 182.2 MB, free: 9.457 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.416/1.416, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008718/0.0008718, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 295.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.335e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3889, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.874/10.26, allocations: 4.368 GB / 5.125 GB, free: 73.72 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/10.26, allocations: 80.89 kB / 5.125 GB, free: 73.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08526/10.35, allocations: 46.3 MB / 5.17 GB, free: 32.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/10.35, allocations: 0 / 5.17 GB, free: 32.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.674e-06/10.35, allocations: 0 / 5.17 GB, free: 32.15 MB / 0.698 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.0002917/10.35, allocations: 335.3 kB / 5.171 GB, free: 31.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/10.35, allocations: 12.03 kB / 5.171 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/10.35, allocations: 23.94 kB / 5.171 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/10.35, allocations: 159.1 kB / 5.171 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/10.35, allocations: 29.7 kB / 5.171 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/10.35, allocations: 0 / 5.171 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.025e-05/10.35, allocations: 23.92 kB / 5.171 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/10.35, allocations: 41.69 kB / 5.171 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/10.35, allocations: 4 kB / 5.171 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/10.35, allocations: 7.953 kB / 5.171 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/10.35, allocations: 3.984 kB / 5.171 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/10.35, allocations: 229.5 kB / 5.171 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/10.35, allocations: 18.58 kB / 5.171 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/10.35, allocations: 9.234 kB / 5.171 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/10.35, allocations: 4 kB / 5.171 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/10.35, allocations: 34.5 kB / 5.171 GB, free: 31.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/10.35, allocations: 0 / 5.171 GB, free: 31.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001431/10.35, allocations: 37.64 kB / 5.171 GB, free: 31.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/10.35, allocations: 51.41 kB / 5.171 GB, free: 30.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/10.35, allocations: 104.9 kB / 5.171 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/10.35, allocations: 25.7 kB / 5.171 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/10.35, allocations: 96.06 kB / 5.171 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-06/10.35, allocations: 7.906 kB / 5.171 GB, free: 30.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/10.35, allocations: 0 / 5.171 GB, free: 30.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.978e-05/10.35, allocations: 310.8 kB / 5.172 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/10.35, allocations: 4 kB / 5.172 GB, free: 30.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/10.35, allocations: 22.58 kB / 5.172 GB, free: 30.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/10.35, allocations: 19.92 kB / 5.172 GB, free: 30.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/10.35, allocations: 3.938 kB / 5.172 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.995e-05/10.35, allocations: 41.7 kB / 5.172 GB, free: 30.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/10.35, allocations: 7.984 kB / 5.172 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/10.35, allocations: 0 / 5.172 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/10.35, allocations: 4 kB / 5.172 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.641e-05/10.35, allocations: 15.89 kB / 5.172 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/10.35, allocations: 3.984 kB / 5.172 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/10.35, allocations: 4 kB / 5.172 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/10.35, allocations: 96 / 5.172 GB, free: 30.27 MB / 0.698 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 5.898e-05/10.35, allocations: 105 kB / 5.172 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/10.35, allocations: 7.906 kB / 5.172 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/10.35, allocations: 3.75 kB / 5.172 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/10.35, allocations: 0 / 5.172 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/10.35, allocations: 3.953 kB / 5.172 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/10.35, allocations: 3.984 kB / 5.172 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/10.35, allocations: 319.4 kB / 5.172 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/10.35, allocations: 4.031 kB / 5.172 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/10.35, allocations: 7.938 kB / 5.172 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/10.35, allocations: 0 / 5.172 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/10.35, allocations: 0 / 5.172 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/10.35, allocations: 4.203 kB / 5.172 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/10.35, allocations: 4 kB / 5.172 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.795e-05/10.35, allocations: 61.12 kB / 5.172 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/10.35, allocations: 81.14 kB / 5.172 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/10.35, allocations: 0 / 5.172 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/10.35, allocations: 4 kB / 5.172 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/10.35, allocations: 3.953 kB / 5.172 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/10.35, allocations: 96 / 5.172 GB, free: 29.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.232e-05/10.35, allocations: 83.27 kB / 5.173 GB, free: 29.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/10.35, allocations: 0 / 5.173 GB, free: 29.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002945/10.35, allocations: 35.98 kB / 5.173 GB, free: 29.47 MB / 0.698 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.0007623/10.35, allocations: 0.652 MB / 5.173 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/10.35, allocations: 15.94 kB / 5.173 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/10.35, allocations: 7.938 kB / 5.173 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/10.35, allocations: 3.938 kB / 5.173 GB, free: 28.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/10.35, allocations: 10.69 kB / 5.173 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/10.35, allocations: 59.94 kB / 5.173 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/10.35, allocations: 0.6768 MB / 5.174 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.98e-05/10.35, allocations: 4 kB / 5.174 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/10.35, allocations: 7.438 kB / 5.174 GB, free: 27.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/10.35, allocations: 4 kB / 5.174 GB, free: 27.97 MB / 0.698 GB Notification: Performance of Templates: time 0.006178/10.36, allocations: 3.784 MB / 5.178 GB, free: 24.19 MB / 0.698 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)