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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001035/0.001034, allocations: 194.4 kB / 16.14 MB, free: 6.695 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.9019/0.9019, allocations: 143 MB / 433 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 82.05 MB / 0.5937 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3209/0.4475, allocations: 133.3 MB / 0.7239 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.4477, allocations: 60.72 kB / 0.724 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.4477, allocations: 1.375 kB / 0.724 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.2e-05/0.4478, allocations: 4.547 kB / 0.724 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.4479, allocations: 14.34 kB / 0.724 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.4487, allocations: 228.7 kB / 0.7242 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.4487, allocations: 57.34 kB / 0.7243 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.837e-05/0.4488, allocations: 2.094 kB / 0.7243 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.4488, allocations: 12.2 kB / 0.7243 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.4489, allocations: 20.55 kB / 0.7243 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.4489, allocations: 1.781 kB / 0.7243 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.4494, allocations: 242.3 kB / 0.7245 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.4494, allocations: 8.531 kB / 0.7245 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.4494, allocations: 10.75 kB / 0.7246 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.4498, allocations: 197.8 kB / 0.7247 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4498, allocations: 1.625 kB / 0.7247 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4498, allocations: 0 / 0.7247 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.4498, allocations: 0.5625 kB / 0.7247 GB, free: 0.5195 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.0003611/0.4502, allocations: 359.6 kB / 0.7251 GB, free: 152 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4502, allocations: 10.28 kB / 0.7251 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.4503, allocations: 35.75 kB / 0.7251 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.4503, allocations: 3.625 kB / 0.7251 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.4504, allocations: 166.7 kB / 0.7253 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.4505, allocations: 27.98 kB / 0.7253 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.4505, allocations: 5.156 kB / 0.7253 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.4506, allocations: 39.75 kB / 0.7254 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4506, allocations: 0 / 0.7254 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4506, allocations: 9.344 kB / 0.7254 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4506, allocations: 2.094 kB / 0.7254 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.4507, allocations: 17.95 kB / 0.7254 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.4514, allocations: 0.5971 MB / 0.726 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.4514, allocations: 21.66 kB / 0.726 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.4514, allocations: 6.922 kB / 0.726 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4516, allocations: 333 kB / 0.7263 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4517, allocations: 32.67 kB / 0.7264 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4517, allocations: 4 kB / 0.7264 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.4518, allocations: 43.36 kB / 0.7264 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4518, allocations: 51.41 kB / 0.7264 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.4519, allocations: 105.8 kB / 0.7265 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4519, allocations: 27.2 kB / 0.7266 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.452, allocations: 91.03 kB / 0.7267 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.452, allocations: 7.844 kB / 0.7267 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.452, allocations: 15.25 kB / 0.7267 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.4521, allocations: 325 kB / 0.727 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.4521, allocations: 3.406 kB / 0.727 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.4522, allocations: 16.84 kB / 0.727 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.4522, allocations: 24.28 kB / 0.727 GB, free: 14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4522, allocations: 0.75 kB / 0.727 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.09e-05/0.4523, allocations: 50.55 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.4523, allocations: 5.312 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4523, allocations: 1.375 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.4523, allocations: 6.234 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.4524, allocations: 6.312 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4524, allocations: 0 / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.4524, allocations: 2.062 kB / 0.7271 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4524, allocations: 5.25 kB / 0.7271 GB, free: 13.95 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.373e-05/0.4525, allocations: 108.8 kB / 0.7272 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4525, allocations: 5.281 kB / 0.7272 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.4526, allocations: 123.1 kB / 0.7273 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.4527, allocations: 182.5 kB / 0.7275 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.642e-05/0.4527, allocations: 181.4 kB / 0.7277 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.535e-05/0.4528, allocations: 182.2 kB / 0.7279 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.453, allocations: 414 kB / 0.7283 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/0.4531, allocations: 101.7 kB / 0.7283 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.4531, allocations: 107.8 kB / 0.7285 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.602e-05/0.4532, allocations: 182.1 kB / 0.7286 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.4532, allocations: 182.2 kB / 0.7288 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-05/0.4533, allocations: 177 kB / 0.729 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-05/0.4533, allocations: 190.2 kB / 0.7291 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4535, allocations: 306.9 kB / 0.7294 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.4535, allocations: 184.4 kB / 0.7296 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.4536, allocations: 179.4 kB / 0.7298 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4537, allocations: 113.2 kB / 0.7299 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.4538, allocations: 178.1 kB / 0.7301 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.4538, allocations: 107.2 kB / 0.7302 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.4539, allocations: 86.09 kB / 0.7303 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4539, allocations: 0 / 0.7303 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002972/0.4542, allocations: 61.11 kB / 0.7303 GB, free: 10.56 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.0005291/0.4547, allocations: 0.8856 MB / 0.7312 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.523e-05/0.4548, allocations: 8.234 kB / 0.7312 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4548, allocations: 0 / 0.7312 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.4548, allocations: 3.938 kB / 0.7312 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4552, allocations: 0.5275 MB / 0.7317 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.4561, allocations: 1.343 MB / 0.733 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.4563, allocations: 0.6743 MB / 0.7337 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.4564, allocations: 7.406 kB / 0.7337 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.4564, allocations: 8.844 kB / 0.7337 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4564, allocations: 4 kB / 0.7337 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.5043, allocations: 2.136 MB / 0.7358 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.5045, allocations: 213.2 kB / 0.736 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.069, allocations: 1.828 kB / 0.736 GB, free: 6.555 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)