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.00152/0.00152, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001615/0.001615, allocations: 191 kB / 17.29 MB, free: 5.516 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 14.99 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.844/0.844, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 82.02 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1432/0.4812, allocations: 135.4 MB / 0.7279 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.4814, allocations: 67.66 kB / 0.728 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.4815, allocations: 0 / 0.728 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4816, allocations: 0 / 0.728 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.4817, allocations: 15.92 kB / 0.728 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.4826, allocations: 238.9 kB / 0.7282 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.412e-05/0.4827, allocations: 31.91 kB / 0.7282 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.4828, allocations: 3.984 kB / 0.7283 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.4828, allocations: 12 kB / 0.7283 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.4829, allocations: 23.84 kB / 0.7283 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.4829, allocations: 0 / 0.7283 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.4834, allocations: 243.5 kB / 0.7285 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.4835, allocations: 8 kB / 0.7285 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.4835, allocations: 15.92 kB / 0.7285 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.4839, allocations: 187.5 kB / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4839, allocations: 0 / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4839, allocations: 0 / 0.7287 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4839, 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.0004525/0.4843, allocations: 361.3 kB / 0.7291 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4844, allocations: 8.031 kB / 0.7291 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.4844, allocations: 12.84 kB / 0.7291 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4846, allocations: 160.4 kB / 0.7292 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.4846, allocations: 34.2 kB / 0.7293 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4846, allocations: 11.88 kB / 0.7293 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4848, allocations: 45.67 kB / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.4848, allocations: 0 / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4848, allocations: 0 / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.4848, allocations: 0 / 0.7293 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.4849, allocations: 19.98 kB / 0.7293 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.4856, allocations: 0.5989 MB / 0.7299 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.4857, allocations: 22.5 kB / 0.73 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.4857, allocations: 8.922 kB / 0.73 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.4859, allocations: 336.4 kB / 0.7303 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4859, allocations: 30.56 kB / 0.7303 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.4859, allocations: 4 kB / 0.7303 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.4861, allocations: 37.69 kB / 0.7303 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.4861, allocations: 51.41 kB / 0.7304 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.4862, allocations: 105.8 kB / 0.7305 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4863, allocations: 25.7 kB / 0.7305 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.4863, allocations: 88.03 kB / 0.7306 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.4863, allocations: 11.84 kB / 0.7306 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4864, allocations: 13.72 kB / 0.7306 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4865, allocations: 318.9 kB / 0.7309 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.4865, allocations: 8 kB / 0.7309 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.4865, allocations: 17.7 kB / 0.731 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.4866, allocations: 25.66 kB / 0.731 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4866, allocations: 0 / 0.731 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.44e-05/0.4867, allocations: 45.62 kB / 0.731 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4867, allocations: 4.062 kB / 0.731 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4867, allocations: 8 kB / 0.731 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4867, allocations: 0 / 0.731 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.4868, allocations: 4 kB / 0.731 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4868, allocations: 0 / 0.731 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.4868, allocations: 8 kB / 0.7311 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4868, allocations: 7.922 kB / 0.7311 GB, free: 4.699 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 7.041e-05/0.4869, allocations: 109.8 kB / 0.7312 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.4869, allocations: 4 kB / 0.7312 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.487, allocations: 121 kB / 0.7313 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.503e-05/0.4871, allocations: 180.2 kB / 0.7315 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-05/0.4872, allocations: 180.2 kB / 0.7316 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.274e-05/0.4872, allocations: 176.3 kB / 0.7318 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4875, allocations: 417 kB / 0.7322 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/0.4875, allocations: 105 kB / 0.7323 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.4875, allocations: 105 kB / 0.7324 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.265e-05/0.4876, allocations: 184.1 kB / 0.7326 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.4876, allocations: 180.2 kB / 0.7327 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.4877, allocations: 184.2 kB / 0.7329 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.005e-05/0.4878, allocations: 188.3 kB / 0.7331 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4879, allocations: 307.7 kB / 0.7334 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.67e-05/0.488, allocations: 182.1 kB / 0.7336 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.4881, allocations: 184.5 kB / 0.7337 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4882, allocations: 105 kB / 0.7338 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.4883, allocations: 192.2 kB / 0.734 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.4883, allocations: 105 kB / 0.7341 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.4884, allocations: 87.22 kB / 0.7342 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4884, allocations: 0 / 0.7342 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003205/0.4887, allocations: 55.92 kB / 0.7343 GB, free: 1.199 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.0003172/0.489, allocations: 258.3 kB / 0.7345 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.468e-05/0.4891, allocations: 7.938 kB / 0.7345 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4891, allocations: 4 kB / 0.7345 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4892, allocations: 0 / 0.7345 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.4896, allocations: 465.2 kB / 0.735 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.4898, allocations: 173.9 kB / 0.7351 GB, free: 272 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.4901, allocations: 0.6768 MB / 0.7358 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.4901, allocations: 11.67 kB / 0.7358 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.4901, allocations: 11.44 kB / 0.7358 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4901, allocations: 0 / 0.7358 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.003783/0.4939, allocations: 1.343 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)