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.0009217/0.0009217, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008425/0.0008426, allocations: 182 kB / 16.92 MB, free: 6.891 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.34 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.9852/0.9852, allocations: 143.2 MB / 435.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8 kB / 0.517 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 83.41 MB / 0.5985 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.428/0.5918, allocations: 131.6 MB / 0.727 GB, free: 272 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.592, allocations: 57.25 kB / 0.727 GB, free: 236 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.592, allocations: 1.312 kB / 0.727 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.5921, allocations: 4.734 kB / 0.727 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.5922, allocations: 12.61 kB / 0.7271 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.593, allocations: 230.4 kB / 0.7273 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.5931, allocations: 57.81 kB / 0.7273 GB, free: 100 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.5932, allocations: 5.812 kB / 0.7273 GB, free: 96 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.5932, allocations: 15.31 kB / 0.7273 GB, free: 92 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.5933, allocations: 13.34 kB / 0.7274 GB, free: 88 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.5933, allocations: 1.031 kB / 0.7274 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.5939, allocations: 245.2 kB / 0.7276 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.594, allocations: 12.84 kB / 0.7276 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.594, allocations: 39.58 kB / 0.7276 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.5944, allocations: 126 kB / 0.7278 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5944, allocations: 0.7031 kB / 0.7278 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5944, allocations: 0 / 0.7278 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5944, allocations: 1.188 kB / 0.7278 GB, free: 15.93 MB / 0.5606 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.0004368/0.5948, allocations: 352.5 kB / 0.7281 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5949, allocations: 9.625 kB / 0.7281 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.5949, allocations: 3.938 kB / 0.7281 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.5951, allocations: 162.5 kB / 0.7283 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.5951, allocations: 36.38 kB / 0.7283 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.5951, allocations: 4.875 kB / 0.7283 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.5953, allocations: 44.19 kB / 0.7284 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5953, allocations: 3.984 kB / 0.7284 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5953, allocations: 1.188 kB / 0.7284 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5953, allocations: 2.438 kB / 0.7284 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.5954, allocations: 17.19 kB / 0.7284 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.5962, allocations: 0.6062 MB / 0.729 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.5963, allocations: 22.12 kB / 0.729 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.5963, allocations: 6.234 kB / 0.729 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.5965, allocations: 338.6 kB / 0.7293 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5965, allocations: 31.88 kB / 0.7294 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5966, allocations: 4.562 kB / 0.7294 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.5967, allocations: 33.78 kB / 0.7294 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.5967, allocations: 55.34 kB / 0.7294 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.5968, allocations: 103.8 kB / 0.7295 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5969, allocations: 25.7 kB / 0.7296 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.5969, allocations: 86.36 kB / 0.7296 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.5969, allocations: 14.38 kB / 0.7297 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.597, allocations: 10.72 kB / 0.7297 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5971, allocations: 321.2 kB / 0.73 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.5971, allocations: 3 kB / 0.73 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.5971, allocations: 19.28 kB / 0.73 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.5972, allocations: 16.88 kB / 0.73 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5972, allocations: 3.406 kB / 0.73 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.612e-05/0.5973, allocations: 53.33 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5973, allocations: 5.453 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5973, allocations: 0.9688 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5973, allocations: 0 / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.5974, allocations: 10.47 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5974, allocations: 1 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.5974, allocations: 1.922 kB / 0.7301 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.5974, allocations: 2.25 kB / 0.7301 GB, free: 13.41 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.5975, allocations: 120.3 kB / 0.7302 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.5976, allocations: 5.344 kB / 0.7302 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.5977, allocations: 115.3 kB / 0.7303 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/0.5977, allocations: 176.9 kB / 0.7305 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/0.5978, allocations: 186.1 kB / 0.7307 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/0.5979, allocations: 178 kB / 0.7308 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.5981, allocations: 412.2 kB / 0.7312 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.5982, allocations: 107 kB / 0.7313 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.5982, allocations: 106.7 kB / 0.7314 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.37e-05/0.5983, allocations: 178.5 kB / 0.7316 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/0.5983, allocations: 176.9 kB / 0.7318 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.479e-05/0.5984, allocations: 182.3 kB / 0.7319 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-05/0.5985, allocations: 181.7 kB / 0.7321 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.5986, allocations: 319.7 kB / 0.7324 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.5987, allocations: 182.6 kB / 0.7326 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.5988, allocations: 186.6 kB / 0.7328 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.599, allocations: 110.9 kB / 0.7329 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.599, allocations: 181 kB / 0.7331 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.5991, allocations: 103.7 kB / 0.7332 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.5991, allocations: 86.88 kB / 0.7332 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5991, allocations: 0 / 0.7332 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003542/0.5995, allocations: 57.33 kB / 0.7333 GB, free: 10.01 MB / 0.5606 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 (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.0003905/0.5999, allocations: 257.2 kB / 0.7335 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.6, allocations: 15.17 kB / 0.7335 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6, allocations: 0 / 0.7335 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.6, allocations: 8.766 kB / 0.7336 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.6004, allocations: 0.521 MB / 0.7341 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.6007, allocations: 216.4 kB / 0.7343 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.601, allocations: 0.6788 MB / 0.7349 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.601, allocations: 8.562 kB / 0.7349 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.601, allocations: 1.5 kB / 0.7349 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.003314/0.6043, allocations: 1.289 MB / 0.7362 GB, free: 8.219 MB / 0.5606 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)