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.001219/0.001219, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001167/0.001167, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.8396/0.8396, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.293, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1257/0.4187, allocations: 135.4 MB / 0.7279 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.4189, allocations: 63.78 kB / 0.728 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.4189, allocations: 0 / 0.728 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.419, allocations: 0 / 0.728 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.4191, allocations: 15.91 kB / 0.728 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.4198, allocations: 234.9 kB / 0.7282 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.4199, allocations: 31.91 kB / 0.7282 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.965e-05/0.4199, allocations: 7.984 kB / 0.7283 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.4199, allocations: 23.86 kB / 0.7283 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.42, allocations: 15.98 kB / 0.7283 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.695e-06/0.42, allocations: 0 / 0.7283 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.4204, allocations: 239.5 kB / 0.7285 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.4205, allocations: 8 kB / 0.7285 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.4205, allocations: 11.92 kB / 0.7285 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.4208, allocations: 187.5 kB / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4208, allocations: 0 / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4208, allocations: 0 / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4208, allocations: 0 / 0.7287 GB, free: 7.48 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.0003094/0.4211, allocations: 369.2 kB / 0.7291 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.4212, allocations: 12.03 kB / 0.7291 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.4212, allocations: 4.844 kB / 0.7291 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.4213, allocations: 164.3 kB / 0.7292 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.4213, allocations: 30.27 kB / 0.7293 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.4214, allocations: 3.938 kB / 0.7293 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4215, allocations: 45.67 kB / 0.7293 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.4215, allocations: 4 kB / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4215, allocations: 0 / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4215, allocations: 8 kB / 0.7293 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.4216, allocations: 15.98 kB / 0.7293 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.4222, allocations: 0.595 MB / 0.7299 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.251e-05/0.4223, allocations: 22.52 kB / 0.7299 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.4223, allocations: 4.859 kB / 0.73 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.4225, allocations: 344.5 kB / 0.7303 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.4225, allocations: 30.56 kB / 0.7303 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.4225, allocations: 0 / 0.7303 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.4226, allocations: 33.69 kB / 0.7303 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.4227, allocations: 59.34 kB / 0.7304 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.4227, allocations: 101.8 kB / 0.7305 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4228, allocations: 25.7 kB / 0.7305 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.4228, allocations: 96.16 kB / 0.7306 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.4228, allocations: 7.844 kB / 0.7306 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.4228, allocations: 17.72 kB / 0.7306 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.4229, allocations: 314.8 kB / 0.7309 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.423, allocations: 4 kB / 0.7309 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.423, allocations: 25.64 kB / 0.731 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.423, allocations: 17.72 kB / 0.731 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.423, allocations: 0 / 0.731 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.318e-05/0.4231, allocations: 53.62 kB / 0.731 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.4231, allocations: 4 kB / 0.731 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.4231, allocations: 0 / 0.731 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.4231, allocations: 0 / 0.731 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.4232, allocations: 4 kB / 0.731 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4232, allocations: 4 kB / 0.731 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.4232, allocations: 0 / 0.731 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4232, allocations: 15.98 kB / 0.7311 GB, free: 4.695 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.09e-05/0.4233, allocations: 113.8 kB / 0.7312 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4233, allocations: 0 / 0.7312 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.4234, allocations: 113 kB / 0.7313 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/0.4235, allocations: 188.2 kB / 0.7315 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.502e-05/0.4235, allocations: 180.3 kB / 0.7316 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/0.4236, allocations: 184.2 kB / 0.7318 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4238, allocations: 417 kB / 0.7322 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-05/0.4238, allocations: 101 kB / 0.7323 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.4239, allocations: 104.9 kB / 0.7324 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.4239, allocations: 176.3 kB / 0.7326 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.424, allocations: 184.2 kB / 0.7327 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.141e-05/0.424, allocations: 188.2 kB / 0.7329 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-05/0.4241, allocations: 176.3 kB / 0.7331 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.4242, allocations: 307.7 kB / 0.7334 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.4243, allocations: 186.1 kB / 0.7336 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.4243, allocations: 188.5 kB / 0.7337 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4245, allocations: 105 kB / 0.7338 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.4245, allocations: 192.2 kB / 0.734 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.4246, allocations: 101 kB / 0.7341 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.4246, allocations: 87.22 kB / 0.7342 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4246, allocations: 0 / 0.7342 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002824/0.4249, allocations: 63.92 kB / 0.7343 GB, free: 1.191 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.0002704/0.4252, allocations: 250.3 kB / 0.7345 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.687e-05/0.4253, allocations: 15.94 kB / 0.7345 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4253, allocations: 0 / 0.7345 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.4253, allocations: 0 / 0.7345 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.4256, allocations: 459.7 kB / 0.735 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.4259, allocations: 182 kB / 0.7351 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4261, allocations: 0.6768 MB / 0.7358 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.4261, allocations: 7.828 kB / 0.7358 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.4261, allocations: 11.38 kB / 0.7358 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.4261, allocations: 0 / 0.7358 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.003296/0.4294, allocations: 1.344 MB / 0.7371 GB, free: 14.22 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)