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.004783/0.004783, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001082/0.001082, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8279/0.8279, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 64.27 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 82.03 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4828/0.6471, allocations: 135.4 MB / 0.8074 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000156/0.6473, allocations: 51.98 kB / 0.8074 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.6473, allocations: 0 / 0.8074 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.348e-05/0.6474, allocations: 10.03 kB / 0.8074 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.6475, allocations: 12.5 kB / 0.8075 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.6482, allocations: 250.6 kB / 0.8077 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.6483, allocations: 36.44 kB / 0.8077 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.6484, allocations: 3.922 kB / 0.8077 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.6484, allocations: 13.86 kB / 0.8078 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.6485, allocations: 12.2 kB / 0.8078 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.6485, allocations: 5.406 kB / 0.8078 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.6489, allocations: 243.5 kB / 0.808 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.649, allocations: 14.84 kB / 0.808 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.649, allocations: 8.312 kB / 0.808 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.6493, allocations: 191.4 kB / 0.8082 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6493, allocations: 1.438 kB / 0.8082 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6493, allocations: 0 / 0.8082 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6493, allocations: 0 / 0.8082 GB, free: 10.38 MB / 0.5919 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.0003646/0.6497, allocations: 367.3 kB / 0.8086 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.6497, allocations: 14.12 kB / 0.8086 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.6498, allocations: 34.38 kB / 0.8086 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.6498, allocations: 2.219 kB / 0.8086 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6499, allocations: 171.1 kB / 0.8088 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.65, allocations: 27.52 kB / 0.8088 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.65, allocations: 5.25 kB / 0.8088 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.6501, allocations: 43.97 kB / 0.8088 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6501, allocations: 0 / 0.8088 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6501, allocations: 4.188 kB / 0.8088 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.6502, allocations: 5.312 kB / 0.8089 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.6502, allocations: 13.27 kB / 0.8089 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.6509, allocations: 0.5938 MB / 0.8094 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.51e-05/0.6509, allocations: 16.77 kB / 0.8095 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.651, allocations: 12.72 kB / 0.8095 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.6512, allocations: 340.2 kB / 0.8098 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.6512, allocations: 31.94 kB / 0.8098 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6512, allocations: 0 / 0.8098 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.6513, allocations: 41.39 kB / 0.8099 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.6514, allocations: 53.53 kB / 0.8099 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.6514, allocations: 104.9 kB / 0.81 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.6515, allocations: 25.7 kB / 0.81 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.6515, allocations: 85.66 kB / 0.8101 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-06/0.6515, allocations: 7.344 kB / 0.8101 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.6515, allocations: 17.78 kB / 0.8101 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.6517, allocations: 316.5 kB / 0.8104 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.6517, allocations: 5.156 kB / 0.8105 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.6517, allocations: 22.39 kB / 0.8105 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.6517, allocations: 24.91 kB / 0.8105 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6517, allocations: 0 / 0.8105 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.325e-05/0.6518, allocations: 49.95 kB / 0.8105 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6518, allocations: 5.25 kB / 0.8106 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.6518, allocations: 0.7812 kB / 0.8106 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6519, allocations: 1.156 kB / 0.8106 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.6519, allocations: 6.797 kB / 0.8106 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.6519, allocations: 1.062 kB / 0.8106 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.6519, allocations: 5.047 kB / 0.8106 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.652, allocations: 6.25 kB / 0.8106 GB, free: 7.855 MB / 0.5919 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 5.812e-05/0.652, allocations: 110.8 kB / 0.8107 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.6521, allocations: 1.719 kB / 0.8107 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.6522, allocations: 125.8 kB / 0.8108 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/0.6522, allocations: 184.1 kB / 0.811 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-05/0.6523, allocations: 181.3 kB / 0.8111 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.6523, allocations: 181.4 kB / 0.8113 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.6526, allocations: 414.9 kB / 0.8117 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.6526, allocations: 107.4 kB / 0.8118 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.6526, allocations: 107.9 kB / 0.8119 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-05/0.6527, allocations: 186 kB / 0.8121 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.6528, allocations: 180.3 kB / 0.8123 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.702e-05/0.6528, allocations: 182.1 kB / 0.8124 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.6529, allocations: 180.2 kB / 0.8126 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.653, allocations: 311.4 kB / 0.8129 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.6531, allocations: 180.3 kB / 0.8131 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.6531, allocations: 192.6 kB / 0.8133 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6533, allocations: 108.9 kB / 0.8134 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.6534, allocations: 176.3 kB / 0.8135 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.6534, allocations: 111.7 kB / 0.8136 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.6534, allocations: 89.73 kB / 0.8137 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6535, allocations: 0 / 0.8137 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002979/0.6538, allocations: 59.47 kB / 0.8138 GB, free: 4.461 MB / 0.5919 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.0005025/0.6543, allocations: 0.8852 MB / 0.8147 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.6543, allocations: 13.7 kB / 0.8147 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6543, allocations: 0 / 0.8147 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.6544, allocations: 0 / 0.8147 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.6547, allocations: 463.8 kB / 0.8151 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.6557, allocations: 1.335 MB / 0.8164 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.6559, allocations: 0.6756 MB / 0.8171 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.622e-05/0.6559, allocations: 12.55 kB / 0.8171 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.656, allocations: 15 kB / 0.8171 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.656, allocations: 0 / 0.8171 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.6732, allocations: 2.274 MB / 0.8193 GB, free: 428 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.759, allocations: 0 / 0.8193 GB, free: 428 kB / 0.5919 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)