Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6108/0.6108, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 354.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 106.7 kB / 427.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005423/0.0005423, allocations: 8 kB / 0.4982 GB, free: 42.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.164, allocations: 72.31 MB / 0.5689 GB, free: 1.684 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.858/5.022, allocations: 1.665 GB / 2.233 GB, free: 226.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/5.022, allocations: 72.91 kB / 2.234 GB, free: 226.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07441/5.097, allocations: 37.39 MB / 2.27 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/5.097, allocations: 0 / 2.27 GB, free: 200.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/5.097, allocations: 0 / 2.27 GB, free: 200.7 MB / 0.6042 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.0002635/5.097, allocations: 351.8 kB / 2.27 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/5.097, allocations: 8.031 kB / 2.27 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/5.097, allocations: 23.97 kB / 2.27 GB, free: 200.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.138e-05/5.097, allocations: 163.1 kB / 2.271 GB, free: 200.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/5.097, allocations: 33.7 kB / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-06/5.097, allocations: 3.953 kB / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/5.098, allocations: 53.61 kB / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/5.098, allocations: 0 / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/5.098, allocations: 0 / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/5.098, allocations: 0 / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/5.098, allocations: 19.98 kB / 2.271 GB, free: 200 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/5.098, allocations: 268.9 kB / 2.271 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/5.098, allocations: 18.58 kB / 2.271 GB, free: 199.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/5.098, allocations: 93.09 kB / 2.271 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/5.098, allocations: 38.56 kB / 2.271 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/5.098, allocations: 4 kB / 2.271 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/5.098, allocations: 45.67 kB / 2.271 GB, free: 199.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/5.098, allocations: 55.39 kB / 2.271 GB, free: 199.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.786e-05/5.098, allocations: 100.9 kB / 2.271 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/5.098, allocations: 25.7 kB / 2.271 GB, free: 199.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/5.098, allocations: 80.14 kB / 2.271 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/5.098, allocations: 23.77 kB / 2.271 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/5.098, allocations: 128 / 2.271 GB, free: 199.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/5.099, allocations: 314.8 kB / 2.272 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/5.099, allocations: 7.938 kB / 2.272 GB, free: 198.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/5.099, allocations: 26.56 kB / 2.272 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/5.099, allocations: 4 kB / 2.272 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.099, allocations: 0 / 2.272 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.704e-05/5.099, allocations: 65.48 kB / 2.272 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/5.099, allocations: 4 kB / 2.272 GB, free: 198.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/5.099, allocations: 7.938 kB / 2.272 GB, free: 198.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/5.099, allocations: 0 / 2.272 GB, free: 198.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/5.099, allocations: 8 kB / 2.272 GB, free: 198.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/5.099, allocations: 7.984 kB / 2.272 GB, free: 198.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/5.099, allocations: 0 / 2.272 GB, free: 198.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/5.099, allocations: 4 kB / 2.272 GB, free: 198.6 MB / 0.6042 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 6.077e-05/5.099, allocations: 105.9 kB / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/5.099, allocations: 15.89 kB / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/5.099, allocations: 11.11 kB / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/5.099, allocations: 0 / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/5.099, allocations: 0 / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/5.099, allocations: 0 / 2.272 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/5.099, allocations: 355.6 kB / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/5.099, allocations: 4 kB / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/5.099, allocations: 12 kB / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/5.099, allocations: 4 kB / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/5.099, allocations: 0 / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/5.099, allocations: 0 / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/5.099, allocations: 0 / 2.272 GB, free: 198.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/5.099, allocations: 87.56 kB / 2.272 GB, free: 197.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/5.099, allocations: 81.14 kB / 2.272 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/5.099, allocations: 0 / 2.272 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/5.1, allocations: 4 kB / 2.272 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/5.1, allocations: 0 / 2.272 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/5.1, allocations: 4 kB / 2.272 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.616e-05/5.1, allocations: 91.2 kB / 2.273 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/5.1, allocations: 0 / 2.273 GB, free: 197.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003117/5.1, allocations: 39.98 kB / 2.273 GB, free: 197.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0006018/5.101, allocations: 0.5436 MB / 2.273 GB, free: 197.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/5.101, allocations: 19.98 kB / 2.273 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/5.101, allocations: 0 / 2.273 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/5.101, allocations: 7.938 kB / 2.273 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/5.101, allocations: 4 kB / 2.273 GB, free: 197.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/5.101, allocations: 130.2 kB / 2.273 GB, free: 197 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/5.101, allocations: 0.6809 MB / 2.274 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.368e-05/5.101, allocations: 15.83 kB / 2.274 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/5.101, allocations: 7.438 kB / 2.274 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of SimCode: time 5.62e-07/5.101, allocations: 0 / 2.274 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.009458/5.111, allocations: 7.649 MB / 2.281 GB, free: 188.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)