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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001486/0.001486, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.242/1.242, allocations: 222.9 MB / 239.9 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.8995/0.8995, allocations: 143.1 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1294, allocations: 82.04 MB / 0.5939 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3306/0.4601, allocations: 133.5 MB / 0.7243 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.4603, allocations: 54.48 kB / 0.7243 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.4603, allocations: 0 / 0.7243 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.4604, allocations: 5.797 kB / 0.7243 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.4605, allocations: 16.88 kB / 0.7243 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.4613, allocations: 228.7 kB / 0.7246 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.4614, allocations: 33.2 kB / 0.7246 GB, free: 460 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.4614, allocations: 6.578 kB / 0.7246 GB, free: 456 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.4615, allocations: 19.86 kB / 0.7246 GB, free: 448 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.4616, allocations: 9.469 kB / 0.7246 GB, free: 448 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4616, allocations: 1.188 kB / 0.7246 GB, free: 448 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.4621, allocations: 256.2 kB / 0.7249 GB, free: 344 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.4621, allocations: 12.53 kB / 0.7249 GB, free: 336 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.4621, allocations: 6.25 kB / 0.7249 GB, free: 336 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.4625, allocations: 194.9 kB / 0.7251 GB, free: 284 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4625, allocations: 1.125 kB / 0.7251 GB, free: 284 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4625, allocations: 0 / 0.7251 GB, free: 284 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4626, allocations: 4 kB / 0.7251 GB, free: 280 kB / 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.0003955/0.463, allocations: 355.7 kB / 0.7254 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.463, allocations: 10.19 kB / 0.7254 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.463, allocations: 35.64 kB / 0.7255 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.4631, allocations: 3.094 kB / 0.7255 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.4632, allocations: 169 kB / 0.7256 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.4632, allocations: 27.33 kB / 0.7256 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.4632, allocations: 8.906 kB / 0.7257 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4634, allocations: 47.22 kB / 0.7257 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.4634, allocations: 0.9688 kB / 0.7257 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4634, allocations: 0 / 0.7257 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4634, allocations: 1.781 kB / 0.7257 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.4635, allocations: 13.62 kB / 0.7257 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.4642, allocations: 0.5965 MB / 0.7263 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/0.4642, allocations: 25.31 kB / 0.7263 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.4642, allocations: 10.08 kB / 0.7263 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.4644, allocations: 333.5 kB / 0.7266 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4644, allocations: 32.72 kB / 0.7267 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4645, allocations: 0 / 0.7267 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.4646, allocations: 38.52 kB / 0.7267 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4646, allocations: 51.41 kB / 0.7268 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.4647, allocations: 111.1 kB / 0.7269 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.4647, allocations: 26.5 kB / 0.7269 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.4648, allocations: 85.67 kB / 0.727 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.4648, allocations: 10.42 kB / 0.727 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.4648, allocations: 17.75 kB / 0.727 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.4649, allocations: 317.2 kB / 0.7273 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.4649, allocations: 3.984 kB / 0.7273 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.4649, allocations: 19.33 kB / 0.7273 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.465, allocations: 20.39 kB / 0.7273 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.465, allocations: 1.281 kB / 0.7274 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.145e-05/0.4651, allocations: 49.81 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4651, allocations: 6.25 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4651, allocations: 1.688 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.4651, allocations: 0 / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.4651, allocations: 6.781 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4652, allocations: 4 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.4652, allocations: 1.625 kB / 0.7274 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4652, allocations: 7.422 kB / 0.7274 GB, free: 13.71 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.026e-05/0.4653, allocations: 115.7 kB / 0.7275 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.4653, allocations: 5.328 kB / 0.7275 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.09e-05/0.4654, allocations: 119.7 kB / 0.7277 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.4654, allocations: 182.4 kB / 0.7278 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.604e-05/0.4655, allocations: 182.6 kB / 0.728 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/0.4655, allocations: 182.2 kB / 0.7282 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4657, allocations: 407 kB / 0.7286 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/0.4658, allocations: 103.2 kB / 0.7287 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.4658, allocations: 106.9 kB / 0.7288 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.536e-05/0.4658, allocations: 186.7 kB / 0.7289 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.4659, allocations: 178.5 kB / 0.7291 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-05/0.4659, allocations: 183 kB / 0.7293 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-05/0.466, allocations: 186 kB / 0.7295 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.4661, allocations: 313.4 kB / 0.7298 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.4661, allocations: 180.7 kB / 0.7299 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.4662, allocations: 183.4 kB / 0.7301 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4664, allocations: 105.7 kB / 0.7302 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.4664, allocations: 186.2 kB / 0.7304 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4664, allocations: 106.7 kB / 0.7305 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.4665, allocations: 87.5 kB / 0.7306 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4665, allocations: 0 / 0.7306 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003177/0.4668, allocations: 60.36 kB / 0.7306 GB, free: 10.31 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.0004857/0.4673, allocations: 0.8839 MB / 0.7315 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.337e-05/0.4674, allocations: 8.719 kB / 0.7315 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4674, allocations: 0 / 0.7315 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.4674, allocations: 5.281 kB / 0.7315 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.4678, allocations: 462.7 kB / 0.7319 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.4686, allocations: 1.332 MB / 0.7333 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.4688, allocations: 0.6788 MB / 0.7339 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.4689, allocations: 5 kB / 0.7339 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.4689, allocations: 11.91 kB / 0.7339 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4689, allocations: 0 / 0.7339 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2356/0.7045, allocations: 2.164 MB / 0.736 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.7048, allocations: 224.5 kB / 0.7363 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.275, allocations: 3.5 kB / 0.7363 GB, free: 6.41 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)