Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007114/0.0007114, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007336/0.0007335, allocations: 168.7 kB / 15.95 MB, free: 204 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.174/1.174, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8625/0.8625, allocations: 143.2 MB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002652, allocations: 11.98 kB / 0.5158 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 83.4 MB / 0.5972 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.332/0.4569, allocations: 122.6 MB / 0.7169 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.457, allocations: 46.78 kB / 0.717 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.4571, allocations: 0.9688 kB / 0.717 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.263e-05/0.4572, allocations: 1.828 kB / 0.717 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.4572, allocations: 14.17 kB / 0.717 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.4579, allocations: 194.3 kB / 0.7172 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.458, allocations: 43.06 kB / 0.7172 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.064e-05/0.458, allocations: 1.781 kB / 0.7172 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.458, allocations: 23.61 kB / 0.7173 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.4581, allocations: 8.766 kB / 0.7173 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.4581, allocations: 1.469 kB / 0.7173 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.4585, allocations: 164.3 kB / 0.7174 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.4585, allocations: 5.766 kB / 0.7174 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.4585, allocations: 31.89 kB / 0.7175 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4587, allocations: 103.5 kB / 0.7176 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4587, allocations: 0 / 0.7176 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4588, allocations: 0 / 0.7176 GB, free: 8.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.4588, allocations: 0 / 0.7176 GB, free: 8.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003314/0.4591, allocations: 358.1 kB / 0.7179 GB, free: 8.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.4591, allocations: 9 kB / 0.7179 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.4592, allocations: 3.562 kB / 0.7179 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.4593, allocations: 162.1 kB / 0.7181 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.4593, allocations: 27.77 kB / 0.7181 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4593, allocations: 3.938 kB / 0.7181 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4595, allocations: 52.02 kB / 0.7181 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4595, allocations: 0 / 0.7181 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4595, allocations: 5.828 kB / 0.7181 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4595, allocations: 1.25 kB / 0.7181 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.4596, allocations: 11.61 kB / 0.7182 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.4602, allocations: 0.6068 MB / 0.7188 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.801e-05/0.4603, allocations: 18 kB / 0.7188 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.4603, allocations: 12.8 kB / 0.7188 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.4605, allocations: 335.1 kB / 0.7191 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.4605, allocations: 34.89 kB / 0.7191 GB, free: 6.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4605, allocations: 0 / 0.7191 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.4606, allocations: 37.59 kB / 0.7192 GB, free: 6.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.4607, allocations: 51.41 kB / 0.7192 GB, free: 6.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.4607, allocations: 103.1 kB / 0.7193 GB, free: 6.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4608, allocations: 29.83 kB / 0.7193 GB, free: 6.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.4608, allocations: 86.98 kB / 0.7194 GB, free: 6.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.4608, allocations: 9.406 kB / 0.7194 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.4608, allocations: 1.031 kB / 0.7194 GB, free: 6.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.4609, allocations: 320.7 kB / 0.7197 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.4609, allocations: 6.578 kB / 0.7198 GB, free: 6.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.461, allocations: 15.31 kB / 0.7198 GB, free: 6.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.461, allocations: 8.438 kB / 0.7198 GB, free: 6.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.461, allocations: 1.094 kB / 0.7198 GB, free: 6.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.166e-05/0.4611, allocations: 48.95 kB / 0.7198 GB, free: 5.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4611, allocations: 5.531 kB / 0.7198 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4611, allocations: 5 kB / 0.7198 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.4611, allocations: 1.766 kB / 0.7198 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.826e-05/0.4612, allocations: 6.141 kB / 0.7198 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4612, allocations: 1.156 kB / 0.7198 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.4612, allocations: 1.672 kB / 0.7198 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4612, allocations: 5.188 kB / 0.7198 GB, free: 5.969 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 (3): * Single equations (assignments): 3 * 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 6.725e-05/0.4613, allocations: 116.9 kB / 0.72 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4613, allocations: 1.766 kB / 0.72 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.4614, allocations: 118.6 kB / 0.7201 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/0.4615, allocations: 182.1 kB / 0.7202 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/0.4615, allocations: 183.2 kB / 0.7204 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.442e-05/0.4616, allocations: 182.5 kB / 0.7206 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.4618, allocations: 412.3 kB / 0.721 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.4618, allocations: 105.7 kB / 0.7211 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.4618, allocations: 102.7 kB / 0.7212 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.047e-05/0.4619, allocations: 177.9 kB / 0.7214 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.4619, allocations: 185.9 kB / 0.7215 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.415e-05/0.462, allocations: 181.4 kB / 0.7217 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.348e-05/0.4621, allocations: 182.6 kB / 0.7219 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.4622, allocations: 309.8 kB / 0.7222 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.4622, allocations: 190.3 kB / 0.7224 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.4623, allocations: 182.5 kB / 0.7225 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4625, allocations: 109.9 kB / 0.7226 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4625, allocations: 178.4 kB / 0.7228 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4626, allocations: 106.9 kB / 0.7229 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.4626, allocations: 86.14 kB / 0.723 GB, free: 2.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.054e-06/0.4626, allocations: 5.094 kB / 0.723 GB, free: 2.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000264/0.4629, allocations: 54.23 kB / 0.723 GB, free: 2.574 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002817/0.4632, allocations: 253 kB / 0.7233 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.592e-05/0.4632, allocations: 10.27 kB / 0.7233 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4632, allocations: 1.562 kB / 0.7233 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.4633, allocations: 0.5156 kB / 0.7233 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4636, allocations: 0.5264 MB / 0.7238 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.4638, allocations: 194.5 kB / 0.724 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.464, allocations: 0.6735 MB / 0.7247 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.4641, allocations: 5.547 kB / 0.7247 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.4641, allocations: 9.688 kB / 0.7247 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4641, allocations: 0 / 0.7247 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of Templates: time 0.003279/0.4674, allocations: 1.266 MB / 0.7259 GB, free: 0.7852 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)