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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 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.001197/0.001197, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9874/0.9874, allocations: 143 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 82.04 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3929/0.5348, allocations: 135.4 MB / 0.7266 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.535, allocations: 53.38 kB / 0.7267 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.535, allocations: 0 / 0.7267 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.5351, allocations: 5.75 kB / 0.7267 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.5352, allocations: 9.688 kB / 0.7267 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.536, allocations: 239.9 kB / 0.7269 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.5361, allocations: 39.7 kB / 0.7269 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.5361, allocations: 1.656 kB / 0.7269 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.5362, allocations: 19.27 kB / 0.727 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.5362, allocations: 17.02 kB / 0.727 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.5362, allocations: 1.156 kB / 0.727 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.5367, allocations: 243 kB / 0.7272 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.5368, allocations: 9.125 kB / 0.7272 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.5368, allocations: 9.453 kB / 0.7272 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.5372, allocations: 192.8 kB / 0.7274 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5372, allocations: 0.6562 kB / 0.7274 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5372, allocations: 1.062 kB / 0.7274 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5372, allocations: 0 / 0.7274 GB, free: 14.77 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.0004127/0.5376, allocations: 363.5 kB / 0.7278 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5377, allocations: 10.44 kB / 0.7278 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.5377, allocations: 32.41 kB / 0.7278 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.5378, allocations: 7.047 kB / 0.7278 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5379, allocations: 165.3 kB / 0.728 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.538, allocations: 27.42 kB / 0.728 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.538, allocations: 6.031 kB / 0.728 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.5381, allocations: 40.34 kB / 0.728 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5381, allocations: 4.625 kB / 0.728 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.5381, allocations: 0 / 0.728 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.5381, allocations: 5.25 kB / 0.7281 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.5382, allocations: 22.08 kB / 0.7281 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.539, allocations: 0.594 MB / 0.7287 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.539, allocations: 21.14 kB / 0.7287 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.539, allocations: 10.59 kB / 0.7287 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.5393, allocations: 334.5 kB / 0.729 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5393, allocations: 36.75 kB / 0.729 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5393, allocations: 0 / 0.729 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.5395, allocations: 37.91 kB / 0.7291 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.5395, allocations: 52.56 kB / 0.7291 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.5396, allocations: 102.2 kB / 0.7292 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5396, allocations: 30.95 kB / 0.7293 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.5397, allocations: 90.58 kB / 0.7293 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.5397, allocations: 11.83 kB / 0.7293 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.5397, allocations: 15.7 kB / 0.7294 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5398, allocations: 321.3 kB / 0.7297 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.5399, allocations: 6.938 kB / 0.7297 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.5399, allocations: 14.5 kB / 0.7297 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.5399, allocations: 29.11 kB / 0.7297 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5399, allocations: 2.219 kB / 0.7297 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.023e-05/0.54, allocations: 48.98 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5401, allocations: 6.938 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5401, allocations: 0 / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5401, allocations: 1.219 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.5401, allocations: 6.109 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.5401, allocations: 1.25 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.5402, allocations: 6.406 kB / 0.7298 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5402, allocations: 5.031 kB / 0.7298 GB, free: 12.19 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.549e-05/0.5403, allocations: 108.9 kB / 0.7299 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.5403, allocations: 1.781 kB / 0.7299 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.5404, allocations: 128.8 kB / 0.73 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/0.5405, allocations: 178 kB / 0.7302 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-05/0.5406, allocations: 186.9 kB / 0.7304 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/0.5406, allocations: 182.8 kB / 0.7305 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.5408, allocations: 407.2 kB / 0.7309 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/0.5409, allocations: 106.3 kB / 0.731 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.5409, allocations: 102.8 kB / 0.7311 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.046e-05/0.541, allocations: 182 kB / 0.7313 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.541, allocations: 188.3 kB / 0.7315 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-05/0.5411, allocations: 178.2 kB / 0.7317 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.5412, allocations: 182.1 kB / 0.7318 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.5413, allocations: 313.9 kB / 0.7321 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.5414, allocations: 180.5 kB / 0.7323 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.5414, allocations: 183.1 kB / 0.7325 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5416, allocations: 109.4 kB / 0.7326 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.5417, allocations: 178.2 kB / 0.7327 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.5417, allocations: 105.6 kB / 0.7328 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.5418, allocations: 94.44 kB / 0.7329 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5418, allocations: 0 / 0.7329 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003298/0.5421, allocations: 61.14 kB / 0.733 GB, free: 8.793 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.0005686/0.5427, allocations: 0.8832 MB / 0.7339 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.5427, allocations: 11.92 kB / 0.7339 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5428, allocations: 0 / 0.7339 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.5428, allocations: 1.25 kB / 0.7339 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.5432, allocations: 465.5 kB / 0.7343 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5442, allocations: 1.328 MB / 0.7356 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5445, allocations: 0.6747 MB / 0.7363 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.5445, allocations: 9.672 kB / 0.7363 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.5446, allocations: 10.33 kB / 0.7363 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5446, allocations: 0 / 0.7363 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.5627, allocations: 2.25 MB / 0.7385 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.937, allocations: 9.297 kB / 0.7385 GB, free: 5.027 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)