Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001544/0.001544, 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.001807/0.001807, allocations: 193.7 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.9603/0.9603, allocations: 143.1 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1692, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005519/0.1747, allocations: 3.729 MB / 0.598 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.175, allocations: 151.5 kB / 0.5982 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.175, allocations: 4 kB / 0.5982 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1751, allocations: 3.938 kB / 0.5982 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.442e-05/0.1752, allocations: 7.922 kB / 0.5982 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1756, allocations: 87.06 kB / 0.5983 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.1757, allocations: 35.84 kB / 0.5983 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1757, allocations: 4 kB / 0.5983 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.1758, allocations: 19.97 kB / 0.5983 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1759, allocations: 8 kB / 0.5983 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1759, allocations: 0 / 0.5983 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.1764, allocations: 191.3 kB / 0.5985 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1765, allocations: 8 kB / 0.5985 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1765, allocations: 7.984 kB / 0.5985 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1767, allocations: 48.06 kB / 0.5986 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1767, allocations: 3.984 kB / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1767, allocations: 0 / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.1767, allocations: 4 kB / 0.5986 GB, free: 5.164 MB / 0.4981 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.0004237/0.1772, allocations: 335.5 kB / 0.5989 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1772, allocations: 8.031 kB / 0.5989 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1773, allocations: 34.75 kB / 0.5989 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1773, allocations: 0.9375 kB / 0.5989 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1774, allocations: 164.3 kB / 0.5991 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.1775, allocations: 30.27 kB / 0.5991 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1775, allocations: 8.125 kB / 0.5991 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1777, allocations: 45.67 kB / 0.5992 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1777, allocations: 0 / 0.5992 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1777, allocations: 4 kB / 0.5992 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.1777, allocations: 0 / 0.5992 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.1778, allocations: 19.92 kB / 0.5992 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1782, allocations: 338 kB / 0.5995 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.1783, allocations: 14.58 kB / 0.5995 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.1783, allocations: 12.92 kB / 0.5996 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.311e-05/0.1784, allocations: 81.11 kB / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1784, allocations: 34.56 kB / 0.5997 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1784, allocations: 0 / 0.5997 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.1786, allocations: 49.53 kB / 0.5997 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1786, allocations: 51.41 kB / 0.5998 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.1787, allocations: 110 kB / 0.5999 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1788, allocations: 29.64 kB / 0.5999 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.1788, allocations: 87.98 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.1788, allocations: 0 / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1789, allocations: 17.72 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.179, allocations: 314.8 kB / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.179, allocations: 7.984 kB / 0.6003 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.1791, allocations: 13.72 kB / 0.6003 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.1791, allocations: 29.66 kB / 0.6003 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1791, allocations: 0 / 0.6003 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.913e-05/0.1792, allocations: 49.62 kB / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1792, allocations: 4 kB / 0.6004 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1792, allocations: 288 / 0.6004 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1792, allocations: 4 kB / 0.6004 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.1793, allocations: 7.984 kB / 0.6004 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1793, allocations: 4.062 kB / 0.6004 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.1793, allocations: 7.906 kB / 0.6004 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1794, allocations: 4 kB / 0.6004 GB, free: 2.996 MB / 0.4981 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.869e-05/0.1794, allocations: 109.8 kB / 0.6005 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1795, allocations: 11.98 kB / 0.6005 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1796, allocations: 116.9 kB / 0.6006 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/0.1797, allocations: 184.3 kB / 0.6008 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.659e-05/0.1797, allocations: 176.3 kB / 0.601 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.963e-05/0.1798, allocations: 184.2 kB / 0.6012 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.18, allocations: 405.2 kB / 0.6016 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.256e-05/0.1801, allocations: 104.9 kB / 0.6017 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.1801, allocations: 105 kB / 0.6018 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.1802, allocations: 188.3 kB / 0.6019 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.1803, allocations: 180.2 kB / 0.6021 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-05/0.1803, allocations: 176.3 kB / 0.6023 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.1804, allocations: 180.2 kB / 0.6024 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1805, allocations: 311.8 kB / 0.6027 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1806, allocations: 186 kB / 0.6029 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.1806, allocations: 180.3 kB / 0.6031 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2572/0.4378, allocations: 109.9 kB / 0.6032 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.4379, allocations: 178.4 kB / 0.6034 GB, free: 44.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4379, allocations: 106.5 kB / 0.6035 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.438, allocations: 88.91 kB / 0.6036 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.438, allocations: 0 / 0.6036 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002948/0.4383, allocations: 21.58 kB / 0.6036 GB, free: 44.34 MB / 0.4981 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.0003661/0.4387, allocations: 0.824 MB / 0.6044 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.714e-05/0.4388, allocations: 15.59 kB / 0.6044 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4388, allocations: 0.6562 kB / 0.6044 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4388, allocations: 0.9062 kB / 0.6044 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4391, allocations: 460.5 kB / 0.6048 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.4398, allocations: 1.315 MB / 0.6061 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.592e-05/0.4399, allocations: 0.6808 MB / 0.6068 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.4399, allocations: 7.281 kB / 0.6068 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.44, allocations: 10.92 kB / 0.6068 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.44, allocations: 0.6562 kB / 0.6068 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.4564, allocations: 1.507 MB / 0.6083 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.986, allocations: 24.77 kB / 0.6083 GB, free: 40.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)