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.001151/0.001151, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4979/0.4979, allocations: 90.91 MB / 99.34 MB, free: 2.141 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 97.34 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.743e-05, allocations: 4 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.7/3.839, allocations: 1.664 GB / 2.217 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/3.84, allocations: 71.97 kB / 2.217 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.4174/4.257, allocations: 36.7 MB / 2.253 GB, free: 223.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/4.257, allocations: 0 / 2.253 GB, free: 223.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.211e-06/4.257, allocations: 0 / 2.253 GB, free: 223.5 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.0002911/4.257, allocations: 345.6 kB / 2.254 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.583e-05/4.257, allocations: 7.812 kB / 2.254 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/4.258, allocations: 31.5 kB / 2.254 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/4.258, allocations: 159.1 kB / 2.254 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/4.258, allocations: 29.55 kB / 2.254 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/4.258, allocations: 4 kB / 2.254 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.755e-05/4.258, allocations: 19.73 kB / 2.254 GB, free: 222.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/4.258, allocations: 49.3 kB / 2.254 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/4.258, allocations: 7.922 kB / 2.254 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/4.258, allocations: 0 / 2.254 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/4.258, allocations: 7.875 kB / 2.254 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/4.259, allocations: 326.1 kB / 2.254 GB, free: 222.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.028e-05/4.259, allocations: 18.58 kB / 2.254 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/4.259, allocations: 8.812 kB / 2.254 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/4.259, allocations: 0 / 2.254 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/4.259, allocations: 34.44 kB / 2.254 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/4.259, allocations: 0 / 2.254 GB, free: 222.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002024/4.259, allocations: 41.52 kB / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/4.259, allocations: 59.33 kB / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/4.259, allocations: 96.88 kB / 2.254 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/4.259, allocations: 25.7 kB / 2.255 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/4.259, allocations: 87.95 kB / 2.255 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/4.259, allocations: 7.938 kB / 2.255 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/4.259, allocations: 0 / 2.255 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.52e-05/4.259, allocations: 314.8 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/4.259, allocations: 7.906 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/4.259, allocations: 26.5 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.781e-05/4.259, allocations: 3.875 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/4.259, allocations: 0 / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.93e-05/4.259, allocations: 49 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/4.259, allocations: 8.016 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/4.259, allocations: 4 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/4.259, allocations: 3.969 kB / 2.255 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/4.259, allocations: 11.95 kB / 2.255 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/4.259, allocations: 0 / 2.255 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/4.259, allocations: 12.25 kB / 2.255 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/4.259, allocations: 0 / 2.255 GB, free: 221.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 () * 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.827e-05/4.259, allocations: 104.9 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/4.259, allocations: 4 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/4.259, allocations: 7.703 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/4.259, allocations: 4 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/4.26, allocations: 0 / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/4.26, allocations: 0 / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/4.26, allocations: 323.3 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/4.26, allocations: 3.938 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/4.26, allocations: 4 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/4.26, allocations: 3.953 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/4.26, allocations: 0 / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/4.26, allocations: 4.281 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.26, allocations: 0 / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.148e-05/4.26, allocations: 61.08 kB / 2.256 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/4.26, allocations: 89 kB / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/4.26, allocations: 3.953 kB / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/4.26, allocations: 4 kB / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-06/4.26, allocations: 0 / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/4.26, allocations: 4.031 kB / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.33e-05/4.26, allocations: 79.28 kB / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.26, allocations: 0 / 2.256 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002749/4.26, allocations: 35.98 kB / 2.256 GB, free: 220.8 MB / 0.6042 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.0006987/4.261, allocations: 0.6347 MB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.25e-05/4.261, allocations: 15.94 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/4.261, allocations: 0 / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/4.261, allocations: 4 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/4.261, allocations: 256 / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/4.261, allocations: 61.53 kB / 2.256 GB, free: 220.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/4.262, allocations: 0.6768 MB / 2.257 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.293e-05/4.262, allocations: 11.84 kB / 2.257 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/4.262, allocations: 11.44 kB / 2.257 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/4.262, allocations: 0 / 2.257 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.005599/4.267, allocations: 3.653 MB / 2.261 GB, free: 215.8 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)