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.001023/0.001023, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009456/0.0009456, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7094/0.7094, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3951, allocations: 77.52 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1528/0.548, allocations: 144.2 MB / 0.7013 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.5481, allocations: 51.73 kB / 0.7014 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.5482, allocations: 4 kB / 0.7014 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.5483, allocations: 0 / 0.7014 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.5484, allocations: 11.92 kB / 0.7014 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.5491, allocations: 208.3 kB / 0.7016 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.5493, allocations: 55.77 kB / 0.7017 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.5493, allocations: 0 / 0.7017 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.5493, allocations: 23.97 kB / 0.7017 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.5494, allocations: 4 kB / 0.7017 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.5494, allocations: 4 kB / 0.7017 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.5499, allocations: 227.3 kB / 0.7019 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.5499, allocations: 15.92 kB / 0.7019 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.55, allocations: 33.69 kB / 0.702 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.5502, allocations: 81.75 kB / 0.702 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5502, allocations: 4 kB / 0.702 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5502, allocations: 0 / 0.702 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5502, allocations: 0 / 0.702 GB, free: 2.062 MB / 0.5294 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.0003847/0.5506, allocations: 331.5 kB / 0.7024 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5506, allocations: 11.97 kB / 0.7024 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.551, allocations: 28.91 kB / 0.7024 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5511, allocations: 168.3 kB / 0.7026 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5512, allocations: 37.64 kB / 0.7026 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.5512, allocations: 0 / 0.7026 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5514, allocations: 45.69 kB / 0.7026 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5514, allocations: 0 / 0.7026 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5514, allocations: 0 / 0.7026 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.5514, allocations: 4 kB / 0.7026 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.5515, allocations: 23.92 kB / 0.7027 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.5519, allocations: 264.9 kB / 0.7029 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.5519, allocations: 22.58 kB / 0.7029 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.552, allocations: 8.922 kB / 0.7029 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.5521, allocations: 89.09 kB / 0.703 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5522, allocations: 34.56 kB / 0.7031 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5522, allocations: 0 / 0.7031 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002455/0.5524, allocations: 53.62 kB / 0.7031 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5525, allocations: 55.39 kB / 0.7032 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.5526, allocations: 105.8 kB / 0.7033 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.5526, allocations: 25.7 kB / 0.7033 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.5527, allocations: 91.92 kB / 0.7034 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.5527, allocations: 15.89 kB / 0.7034 GB, free: 460 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.5527, allocations: 9.719 kB / 0.7034 GB, free: 444 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5528, allocations: 315 kB / 0.7037 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.5529, allocations: 8 kB / 0.7037 GB, free: 112 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.5529, allocations: 22.56 kB / 0.7037 GB, free: 80 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.5529, allocations: 34.45 kB / 0.7038 GB, free: 36 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.553, allocations: 8 kB / 0.7038 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.226e-05/0.5531, allocations: 53.62 kB / 0.7038 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5531, allocations: 4 kB / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5531, allocations: 0 / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5531, allocations: 0 / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.5532, allocations: 8 kB / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.5532, allocations: 3.938 kB / 0.7038 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.5532, allocations: 0 / 0.7038 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.5532, allocations: 4 kB / 0.7038 GB, free: 15.95 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.734e-05/0.5533, allocations: 125.9 kB / 0.704 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.5533, allocations: 3.906 kB / 0.704 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.5534, allocations: 3.125 kB / 0.704 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5534, allocations: 288 / 0.704 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.5534, allocations: 3.938 kB / 0.704 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5534, allocations: 7.984 kB / 0.704 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.5537, allocations: 359.6 kB / 0.7043 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5537, allocations: 4.062 kB / 0.7043 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.5537, allocations: 4 kB / 0.7043 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5537, allocations: 3.938 kB / 0.7043 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.5538, allocations: 0 / 0.7043 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5538, allocations: 0 / 0.7043 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5538, allocations: 8 kB / 0.7043 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.518e-05/0.5539, allocations: 73.98 kB / 0.7044 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.5539, allocations: 84.95 kB / 0.7045 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5539, allocations: 4 kB / 0.7045 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.554, allocations: 11.92 kB / 0.7045 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.5541, allocations: 0 / 0.7045 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5541, allocations: 0 / 0.7045 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.5541, allocations: 79.28 kB / 0.7046 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5541, allocations: 0 / 0.7046 GB, free: 15.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001947/0.5543, allocations: 12 kB / 0.7046 GB, free: 15.07 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.0001161/0.5544, allocations: 99.28 kB / 0.7047 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.5545, allocations: 19.92 kB / 0.7047 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5545, allocations: 0 / 0.7047 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.5546, allocations: 7.938 kB / 0.7047 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.5548, allocations: 19.81 kB / 0.7047 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.5551, allocations: 155.5 kB / 0.7049 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5553, allocations: 0.6731 MB / 0.7055 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.5554, allocations: 15.38 kB / 0.7056 GB, free: 14.01 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5554, allocations: 0 / 0.7056 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Templates: time 0.001938/0.5573, allocations: 0.6005 MB / 0.7061 GB, free: 13.41 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)