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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 105.4 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 194 kB / 17.57 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7883/0.7883, allocations: 122.9 MB / 414.2 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.88 kB / 0.4912 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3457, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.157/0.5028, allocations: 146.2 MB / 0.7101 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.503, allocations: 59.73 kB / 0.7101 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.503, allocations: 0 / 0.7101 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.5031, allocations: 3.984 kB / 0.7101 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.5033, allocations: 15.92 kB / 0.7101 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.5041, allocations: 205.2 kB / 0.7103 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.5042, allocations: 39.84 kB / 0.7104 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.5043, allocations: 4 kB / 0.7104 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.5043, allocations: 11.98 kB / 0.7104 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.5044, allocations: 15.92 kB / 0.7104 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5044, allocations: 0 / 0.7104 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.5049, allocations: 207.4 kB / 0.7106 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.505, allocations: 7.984 kB / 0.7106 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.505, allocations: 11.94 kB / 0.7106 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.5052, allocations: 73.86 kB / 0.7107 GB, free: 7.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5052, allocations: 8 kB / 0.7107 GB, free: 7.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5052, allocations: 0 / 0.7107 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5052, allocations: 0 / 0.7107 GB, free: 7.719 MB / 0.545 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.000432/0.5057, allocations: 343.4 kB / 0.711 GB, free: 7.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5057, allocations: 12.62 kB / 0.711 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.5061, allocations: 24.92 kB / 0.7111 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5062, allocations: 168.4 kB / 0.7112 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.5063, allocations: 33.58 kB / 0.7113 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.5063, allocations: 0 / 0.7113 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.5064, allocations: 45.69 kB / 0.7113 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5064, allocations: 0 / 0.7113 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5065, allocations: 4 kB / 0.7113 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5065, allocations: 7.922 kB / 0.7113 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.5065, allocations: 20 kB / 0.7113 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.5069, allocations: 256.9 kB / 0.7116 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.507, allocations: 26.52 kB / 0.7116 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.507, allocations: 12.91 kB / 0.7116 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.5072, allocations: 97.09 kB / 0.7117 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.5072, allocations: 30.56 kB / 0.7117 GB, free: 6.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5072, allocations: 0 / 0.7117 GB, free: 6.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002488/0.5075, allocations: 49.59 kB / 0.7118 GB, free: 6.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5075, allocations: 59.34 kB / 0.7118 GB, free: 6.348 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.5076, allocations: 101.8 kB / 0.7119 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.5076, allocations: 29.83 kB / 0.712 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.5077, allocations: 99.97 kB / 0.7121 GB, free: 6.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.5077, allocations: 3.938 kB / 0.7121 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.5078, allocations: 13.72 kB / 0.7121 GB, free: 6.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5079, allocations: 314.8 kB / 0.7124 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.5079, allocations: 7.984 kB / 0.7124 GB, free: 5.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.5079, allocations: 18.58 kB / 0.7124 GB, free: 5.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.508, allocations: 34.52 kB / 0.7124 GB, free: 5.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.508, allocations: 0 / 0.7124 GB, free: 5.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.654e-05/0.5081, allocations: 61.53 kB / 0.7125 GB, free: 5.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5081, allocations: 8 kB / 0.7125 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5081, allocations: 0 / 0.7125 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5081, allocations: 0 / 0.7125 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.5082, allocations: 16.08 kB / 0.7125 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5082, allocations: 3.938 kB / 0.7125 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.5083, allocations: 0 / 0.7125 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.5083, allocations: 4 kB / 0.7125 GB, free: 5.586 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.5083, allocations: 105.8 kB / 0.7126 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.5084, allocations: 4 kB / 0.7126 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.5084, allocations: 7.125 kB / 0.7126 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5084, allocations: 0 / 0.7126 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5084, allocations: 4.219 kB / 0.7126 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5084, allocations: 4 kB / 0.7126 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.5087, allocations: 371.5 kB / 0.713 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5087, allocations: 0 / 0.713 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.5088, allocations: 7.984 kB / 0.713 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5088, allocations: 3.938 kB / 0.713 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5088, allocations: 0 / 0.713 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5088, allocations: 3.938 kB / 0.713 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5088, allocations: 12.05 kB / 0.713 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.606e-05/0.5089, allocations: 66 kB / 0.7131 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.5089, allocations: 84.98 kB / 0.7132 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.509, allocations: 4 kB / 0.7132 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.5091, allocations: 3.984 kB / 0.7132 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.5091, allocations: 0 / 0.7132 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.5091, allocations: 8.031 kB / 0.7132 GB, free: 4.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.5091, allocations: 83.28 kB / 0.7133 GB, free: 4.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.654e-06/0.5091, allocations: 0 / 0.7133 GB, free: 4.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001984/0.5094, allocations: 7.938 kB / 0.7133 GB, free: 4.711 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.5095, allocations: 103.2 kB / 0.7134 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.5096, allocations: 15.94 kB / 0.7134 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5096, allocations: 4.188 kB / 0.7134 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.5096, allocations: 7.938 kB / 0.7134 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5099, allocations: 11.92 kB / 0.7134 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.5102, allocations: 149.1 kB / 0.7135 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.5105, allocations: 0.6769 MB / 0.7142 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.5106, allocations: 11.44 kB / 0.7142 GB, free: 3.664 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5106, allocations: 0 / 0.7142 GB, free: 3.664 MB / 0.545 GB Notification: Performance of Templates: time 0.002364/0.5129, allocations: 0.614 MB / 0.7148 GB, free: 3.051 MB / 0.545 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)