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.001308/0.001309, allocations: 100.1 kB / 15.88 MB, free: 12 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.001631/0.001631, allocations: 198.7 kB / 16.79 MB, free: 6.828 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.324/1.324, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.9447/0.9447, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 59.89 kB / 0.5141 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 82.04 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.386/0.5462, allocations: 133.3 MB / 0.7245 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.5464, allocations: 62.08 kB / 0.7245 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.5465, allocations: 0 / 0.7245 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.5466, allocations: 2.609 kB / 0.7245 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.5467, allocations: 17.34 kB / 0.7245 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.5476, allocations: 225.1 kB / 0.7247 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.5477, allocations: 57.75 kB / 0.7248 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.5478, allocations: 3.484 kB / 0.7248 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.5478, allocations: 14.86 kB / 0.7248 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.5479, allocations: 16.53 kB / 0.7248 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.5479, allocations: 1.062 kB / 0.7248 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.5484, allocations: 244.3 kB / 0.7251 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.5485, allocations: 8.969 kB / 0.7251 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.5485, allocations: 15.27 kB / 0.7251 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.5488, allocations: 131.5 kB / 0.7252 GB, free: 1.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5488, allocations: 3.938 kB / 0.7252 GB, free: 1.008 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5488, allocations: 0 / 0.7252 GB, free: 1.008 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.5488, allocations: 0 / 0.7252 GB, free: 1.008 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.0004199/0.5493, allocations: 355 kB / 0.7256 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5493, allocations: 9.625 kB / 0.7256 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.5494, allocations: 3.719 kB / 0.7256 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5495, allocations: 164.9 kB / 0.7257 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.5495, allocations: 31.73 kB / 0.7258 GB, free: 420 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.5496, allocations: 6.062 kB / 0.7258 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5497, allocations: 43.67 kB / 0.7258 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5497, allocations: 0 / 0.7258 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5497, allocations: 0 / 0.7258 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.5498, allocations: 5.719 kB / 0.7258 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.5498, allocations: 20.36 kB / 0.7258 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.5507, allocations: 0.6053 MB / 0.7264 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.5507, allocations: 16.61 kB / 0.7264 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.5507, allocations: 6.719 kB / 0.7264 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.5509, allocations: 337.9 kB / 0.7268 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.551, allocations: 33.11 kB / 0.7268 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.551, allocations: 0 / 0.7268 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.5511, allocations: 41.45 kB / 0.7268 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.5511, allocations: 53.61 kB / 0.7269 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.5512, allocations: 102.2 kB / 0.727 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5513, allocations: 25.7 kB / 0.727 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.5513, allocations: 91.45 kB / 0.7271 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.5513, allocations: 9.094 kB / 0.7271 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.5514, allocations: 14.83 kB / 0.7271 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.5515, allocations: 315.9 kB / 0.7274 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.5515, allocations: 12.12 kB / 0.7274 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.5515, allocations: 15.22 kB / 0.7275 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.5516, allocations: 24.22 kB / 0.7275 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5516, allocations: 2.094 kB / 0.7275 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.892e-05/0.5516, allocations: 46.22 kB / 0.7275 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5517, allocations: 4.938 kB / 0.7275 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5517, allocations: 4.578 kB / 0.7275 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5517, allocations: 5.188 kB / 0.7275 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.5518, allocations: 6.484 kB / 0.7275 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5518, allocations: 1.438 kB / 0.7275 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.5518, allocations: 288 / 0.7275 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.5518, allocations: 4.531 kB / 0.7275 GB, free: 14.49 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 6.567e-05/0.5519, allocations: 111.5 kB / 0.7277 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.5519, allocations: 3.281 kB / 0.7277 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.552, allocations: 131.1 kB / 0.7278 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/0.5521, allocations: 180.9 kB / 0.728 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.951e-05/0.5521, allocations: 178.3 kB / 0.7281 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/0.5522, allocations: 185.9 kB / 0.7283 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.5524, allocations: 408.4 kB / 0.7287 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.5524, allocations: 105.6 kB / 0.7288 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.5525, allocations: 106.8 kB / 0.7289 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/0.5525, allocations: 178.4 kB / 0.7291 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.5526, allocations: 182.2 kB / 0.7292 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.971e-05/0.5526, allocations: 179.1 kB / 0.7294 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-05/0.5527, allocations: 189.4 kB / 0.7296 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.5528, allocations: 305.9 kB / 0.7299 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.5529, allocations: 191.3 kB / 0.7301 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.553, allocations: 178.1 kB / 0.7302 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5531, allocations: 110.2 kB / 0.7303 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.5532, allocations: 182 kB / 0.7305 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.5533, allocations: 102.6 kB / 0.7306 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.5533, allocations: 87.28 kB / 0.7307 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5533, allocations: 0 / 0.7307 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003647/0.5537, allocations: 56.41 kB / 0.7307 GB, free: 11.09 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.0003633/0.554, allocations: 260.9 kB / 0.731 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.5541, allocations: 8.938 kB / 0.731 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.5541, allocations: 0 / 0.731 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5541, allocations: 0 / 0.731 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.5546, allocations: 0.5291 MB / 0.7315 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5549, allocations: 206 kB / 0.7317 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.5551, allocations: 0.6744 MB / 0.7324 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.5551, allocations: 13.56 kB / 0.7324 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5551, allocations: 5.125 kB / 0.7324 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of Templates: time 0.003087/0.5582, allocations: 1.28 MB / 0.7336 GB, free: 9.316 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)