Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001213/0.001213, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001644/0.001644, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9825/0.9825, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002911, allocations: 8 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 83.41 MB / 0.5973 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4148/0.5743, allocations: 125.2 MB / 0.7196 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.5746, allocations: 133.2 kB / 0.7197 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.5746, allocations: 0 / 0.7197 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.5747, allocations: 2.172 kB / 0.7197 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.5748, allocations: 14.73 kB / 0.7197 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.5754, allocations: 149.8 kB / 0.7198 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.5755, allocations: 19.06 kB / 0.7199 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.5756, allocations: 2 kB / 0.7199 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.5756, allocations: 9.578 kB / 0.7199 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.5757, allocations: 16.48 kB / 0.7199 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.5757, allocations: 5.031 kB / 0.7199 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.576, allocations: 107.7 kB / 0.72 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.5761, allocations: 9.375 kB / 0.72 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.5761, allocations: 29.05 kB / 0.72 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.5763, allocations: 51.7 kB / 0.7201 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.5763, allocations: 0 / 0.7201 GB, free: 7.066 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5763, allocations: 0 / 0.7201 GB, free: 7.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.5763, allocations: 0 / 0.7201 GB, free: 7.066 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.000368/0.5767, allocations: 336 kB / 0.7204 GB, free: 6.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5767, allocations: 13.09 kB / 0.7204 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.577, allocations: 26.92 kB / 0.7204 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.5772, allocations: 162.2 kB / 0.7206 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.5773, allocations: 28.83 kB / 0.7206 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.5773, allocations: 1.781 kB / 0.7206 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.5775, allocations: 52.09 kB / 0.7207 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5775, allocations: 3.984 kB / 0.7207 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5775, allocations: 1.156 kB / 0.7207 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5775, allocations: 6.156 kB / 0.7207 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.723e-05/0.5776, allocations: 21.66 kB / 0.7207 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.578, allocations: 260 kB / 0.721 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.5781, allocations: 26.5 kB / 0.721 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.5781, allocations: 2.828 kB / 0.721 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.5782, allocations: 40.27 kB / 0.721 GB, free: 6.078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5782, allocations: 1.281 kB / 0.721 GB, free: 6.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.5784, allocations: 52.23 kB / 0.7211 GB, free: 6.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.5785, allocations: 54.47 kB / 0.7211 GB, free: 5.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.5785, allocations: 106 kB / 0.7212 GB, free: 5.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5786, allocations: 25.7 kB / 0.7213 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.5786, allocations: 95.31 kB / 0.7213 GB, free: 5.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.5786, allocations: 13.19 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.5786, allocations: 0 / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5788, allocations: 313.2 kB / 0.7217 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.5788, allocations: 4.766 kB / 0.7217 GB, free: 5.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.5788, allocations: 26.62 kB / 0.7217 GB, free: 5.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.5789, allocations: 11.2 kB / 0.7217 GB, free: 5.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5789, allocations: 0 / 0.7217 GB, free: 5.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.164e-05/0.5789, allocations: 50.94 kB / 0.7217 GB, free: 5.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.579, allocations: 9.203 kB / 0.7218 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.579, allocations: 1.062 kB / 0.7218 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.579, allocations: 1.219 kB / 0.7218 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.5791, allocations: 9.656 kB / 0.7218 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5791, allocations: 2.547 kB / 0.7218 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.5791, allocations: 9.391 kB / 0.7218 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.5791, allocations: 0.9688 kB / 0.7218 GB, free: 5.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.749e-05/0.5792, allocations: 114.2 kB / 0.7219 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.5793, allocations: 5.906 kB / 0.7219 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.5793, allocations: 4.375 kB / 0.7219 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5793, allocations: 0 / 0.7219 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5793, allocations: 2.141 kB / 0.7219 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.5793, allocations: 0 / 0.7219 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.5797, allocations: 370.9 kB / 0.7223 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5797, allocations: 0.5 kB / 0.7223 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.5797, allocations: 4 kB / 0.7223 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5797, allocations: 5.344 kB / 0.7223 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.5798, allocations: 4.938 kB / 0.7223 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5798, allocations: 0.625 kB / 0.7223 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5798, allocations: 5.906 kB / 0.7223 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.5799, allocations: 86.92 kB / 0.7224 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5799, allocations: 86.95 kB / 0.7224 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5799, allocations: 5.703 kB / 0.7224 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.58, allocations: 9.766 kB / 0.7225 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.5801, allocations: 2.141 kB / 0.7225 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5801, allocations: 0.9062 kB / 0.7225 GB, free: 4.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.5801, allocations: 85.47 kB / 0.7225 GB, free: 4.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5801, allocations: 0 / 0.7225 GB, free: 4.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001932/0.5803, allocations: 11.09 kB / 0.7225 GB, free: 4.527 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 (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.0001322/0.5805, allocations: 102.5 kB / 0.7226 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.5806, allocations: 19.17 kB / 0.7227 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5806, allocations: 0 / 0.7227 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.5806, allocations: 9.453 kB / 0.7227 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.5808, allocations: 5.062 kB / 0.7227 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.581, allocations: 141.1 kB / 0.7228 GB, free: 4.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5813, allocations: 0.6789 MB / 0.7235 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.5814, allocations: 11.98 kB / 0.7235 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.5814, allocations: 8.625 kB / 0.7235 GB, free: 3.594 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5814, allocations: 0 / 0.7235 GB, free: 3.594 MB / 0.545 GB Notification: Performance of Templates: time 0.002993/0.5844, allocations: 0.5493 MB / 0.724 GB, free: 3.531 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: