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: "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00096/0.00096, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.0009523/0.0009523, allocations: 192 kB / 17.2 MB, free: 5.598 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7201/0.7201, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1405/0.4564, allocations: 148.3 MB / 0.7121 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.4565, allocations: 63.84 kB / 0.7121 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.4565, allocations: 0 / 0.7121 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.245e-05/0.4566, allocations: 7.938 kB / 0.7121 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.4567, allocations: 11.91 kB / 0.7121 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.4573, allocations: 211.2 kB / 0.7123 GB, free: 5.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.4574, allocations: 35.84 kB / 0.7124 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 1.677e-05/0.4574, allocations: 0 / 0.7124 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.4575, allocations: 23.91 kB / 0.7124 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.4575, allocations: 8 kB / 0.7124 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4575, allocations: 4 kB / 0.7124 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.4579, allocations: 199.4 kB / 0.7126 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.458, allocations: 7.938 kB / 0.7126 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.458, allocations: 11.98 kB / 0.7126 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.4582, allocations: 122 kB / 0.7127 GB, free: 5.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.4582, allocations: 4 kB / 0.7127 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4582, allocations: 0 / 0.7127 GB, free: 5.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.4582, allocations: 0 / 0.7127 GB, free: 5.352 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.000261/0.4585, allocations: 335.4 kB / 0.7131 GB, free: 4.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.4585, allocations: 12.03 kB / 0.7131 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.4586, allocations: 30.75 kB / 0.7131 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.4588, allocations: 24.91 kB / 0.7131 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.4589, allocations: 172.1 kB / 0.7133 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.459, allocations: 25.7 kB / 0.7133 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.459, allocations: 7.938 kB / 0.7133 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.4591, allocations: 45.69 kB / 0.7134 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-06/0.4591, allocations: 0 / 0.7134 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4591, allocations: 0 / 0.7134 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4591, allocations: 7.938 kB / 0.7134 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.4592, allocations: 19.98 kB / 0.7134 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.4594, allocations: 264.9 kB / 0.7136 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.4595, allocations: 26.52 kB / 0.7137 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.4595, allocations: 4.859 kB / 0.7137 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.4596, allocations: 97.16 kB / 0.7138 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4597, allocations: 38.55 kB / 0.7138 GB, free: 4.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4597, allocations: 0 / 0.7138 GB, free: 4.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.4599, allocations: 53.59 kB / 0.7138 GB, free: 4.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.4599, allocations: 55.34 kB / 0.7139 GB, free: 3.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.46, allocations: 101.8 kB / 0.714 GB, free: 3.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.46, allocations: 29.7 kB / 0.714 GB, free: 3.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.46, allocations: 91.97 kB / 0.7141 GB, free: 3.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.46, allocations: 128 / 0.7141 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.4601, allocations: 25.62 kB / 0.7141 GB, free: 3.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.4602, allocations: 310.8 kB / 0.7144 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.4602, allocations: 4 kB / 0.7144 GB, free: 3.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.4602, allocations: 26.56 kB / 0.7145 GB, free: 3.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.4603, allocations: 38.52 kB / 0.7145 GB, free: 3.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4603, allocations: 0 / 0.7145 GB, free: 3.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.945e-05/0.4603, allocations: 53.62 kB / 0.7145 GB, free: 3.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-06/0.4604, allocations: 4 kB / 0.7146 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.4604, allocations: 0 / 0.7146 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.4604, allocations: 0 / 0.7146 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.4604, allocations: 12 kB / 0.7146 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.4604, allocations: 7.875 kB / 0.7146 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.4605, allocations: 7.984 kB / 0.7146 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.4605, allocations: 4.094 kB / 0.7146 GB, free: 3.18 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 6.017e-05/0.4606, allocations: 113.8 kB / 0.7147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4606, allocations: 0 / 0.7147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.4606, allocations: 3.125 kB / 0.7147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4606, allocations: 288 / 0.7147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4606, allocations: 3.938 kB / 0.7147 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.4606, allocations: 4 kB / 0.7147 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.4609, allocations: 367.5 kB / 0.7151 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4609, allocations: 7.922 kB / 0.7151 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.4609, allocations: 7.938 kB / 0.7151 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.461, allocations: 0 / 0.7151 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.461, allocations: 0 / 0.7151 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.461, allocations: 0 / 0.7151 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.461, allocations: 7.938 kB / 0.7151 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/0.4611, allocations: 74.05 kB / 0.7151 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.4611, allocations: 85.05 kB / 0.7152 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4611, allocations: 4 kB / 0.7152 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.4612, allocations: 3.984 kB / 0.7152 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-06/0.4612, allocations: 4 kB / 0.7152 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.4612, allocations: 0 / 0.7152 GB, free: 2.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.4613, allocations: 79.28 kB / 0.7153 GB, free: 2.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4613, allocations: 0 / 0.7153 GB, free: 2.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001876/0.4615, allocations: 12.03 kB / 0.7153 GB, free: 2.309 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.0002995/0.4618, allocations: 0.6093 MB / 0.7159 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.4618, allocations: 27.95 kB / 0.7159 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4618, allocations: 0 / 0.7159 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.4619, allocations: 4 kB / 0.716 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.4621, allocations: 12.16 kB / 0.716 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.4624, allocations: 160.6 kB / 0.7161 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4626, allocations: 0.6729 MB / 0.7168 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.4627, allocations: 11.98 kB / 0.7168 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.4627, allocations: 7.438 kB / 0.7168 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4627, allocations: 0 / 0.7168 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.4781, allocations: 1.421 MB / 0.7182 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.345, allocations: 9.797 kB / 0.7182 GB, free: 15.39 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)