Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.007781/0.007781, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002074/0.002074, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9133/0.9133, allocations: 143.3 MB / 433.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 65.05 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 82.03 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004923/0.1576, allocations: 3.292 MB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 9.955e-05/0.1577, allocations: 47.86 kB / 0.6787 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.1577, allocations: 0 / 0.6787 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.353e-05/0.1578, allocations: 11.92 kB / 0.6787 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.1579, allocations: 15.94 kB / 0.6787 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1584, allocations: 183.2 kB / 0.6789 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.727e-05/0.1585, allocations: 27.92 kB / 0.6789 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.1586, allocations: 7.984 kB / 0.6789 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.1586, allocations: 19.92 kB / 0.6789 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.1587, allocations: 7.938 kB / 0.679 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1587, allocations: 4 kB / 0.679 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.1591, allocations: 175.5 kB / 0.6791 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1591, allocations: 7.984 kB / 0.6791 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1591, allocations: 7.938 kB / 0.6791 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1594, allocations: 136 kB / 0.6793 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1594, allocations: 0 / 0.6793 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1594, allocations: 0 / 0.6793 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1595, allocations: 0 / 0.6793 GB, free: 6.668 MB / 0.5137 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.0004332/0.1599, allocations: 355.3 kB / 0.6796 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1599, allocations: 19.91 kB / 0.6796 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.16, allocations: 34.75 kB / 0.6797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.16, allocations: 0.9375 kB / 0.6797 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1602, allocations: 164.3 kB / 0.6798 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.1602, allocations: 38.25 kB / 0.6799 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.1602, allocations: 4.125 kB / 0.6799 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1604, allocations: 41.69 kB / 0.6799 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1604, allocations: 4 kB / 0.6799 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1604, allocations: 4 kB / 0.6799 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1604, allocations: 3.984 kB / 0.6799 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.1605, allocations: 11.94 kB / 0.6799 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.1611, allocations: 0.5833 MB / 0.6805 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/0.1612, allocations: 18.56 kB / 0.6805 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.1612, allocations: 8.859 kB / 0.6805 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.1615, allocations: 344.5 kB / 0.6808 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1615, allocations: 30.56 kB / 0.6809 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1615, allocations: 0 / 0.6809 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.1617, allocations: 41.59 kB / 0.6809 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1617, allocations: 55.39 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.1618, allocations: 97.86 kB / 0.6811 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.1619, allocations: 29.83 kB / 0.6811 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1619, allocations: 92.08 kB / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.1619, allocations: 7.984 kB / 0.6812 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.162, allocations: 21.66 kB / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1621, allocations: 314.8 kB / 0.6815 GB, free: 4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.1621, allocations: 8 kB / 0.6815 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.1622, allocations: 17.7 kB / 0.6815 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.013e-05/0.1622, allocations: 25.66 kB / 0.6816 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1622, allocations: 0 / 0.6816 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.462e-05/0.1623, allocations: 49.64 kB / 0.6816 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1623, allocations: 4 kB / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1624, allocations: 0 / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1624, allocations: 0 / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.1624, allocations: 11.94 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1624, allocations: 0 / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.1625, allocations: 12 kB / 0.6816 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1625, allocations: 4 kB / 0.6816 GB, free: 3.852 MB / 0.5137 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.713e-05/0.1626, allocations: 113.8 kB / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1626, allocations: 0 / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1627, allocations: 119.8 kB / 0.6819 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.809e-05/0.1628, allocations: 184.2 kB / 0.682 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.294e-05/0.1629, allocations: 184.3 kB / 0.6822 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.283e-05/0.163, allocations: 184.2 kB / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1633, allocations: 413.2 kB / 0.6828 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.789e-05/0.1633, allocations: 101 kB / 0.6829 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.1634, allocations: 104.9 kB / 0.683 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.737e-05/0.1635, allocations: 176.3 kB / 0.6831 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.1636, allocations: 192.5 kB / 0.6833 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.797e-05/0.1636, allocations: 176.3 kB / 0.6835 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.1637, allocations: 184.2 kB / 0.6837 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1639, allocations: 299.8 kB / 0.684 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.164, allocations: 198 kB / 0.6841 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/0.1641, allocations: 192.2 kB / 0.6843 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1643, allocations: 105 kB / 0.6844 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.1644, allocations: 184.2 kB / 0.6846 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.1644, allocations: 101 kB / 0.6847 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.1645, allocations: 83.28 kB / 0.6848 GB, free: 424 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1645, allocations: 4 kB / 0.6848 GB, free: 420 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002967/0.1648, allocations: 39.8 kB / 0.6848 GB, free: 380 kB / 0.5137 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.0006123/0.1654, allocations: 0.8632 MB / 0.6857 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.1655, allocations: 15.98 kB / 0.6857 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1655, allocations: 0 / 0.6857 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.1655, allocations: 3.938 kB / 0.6857 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.166, allocations: 463.2 kB / 0.6861 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1671, allocations: 1.328 MB / 0.6874 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1675, allocations: 0.669 MB / 0.6881 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1675, allocations: 10.34 kB / 0.6881 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1675, allocations: 15.42 kB / 0.6881 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1675, allocations: 0 / 0.6881 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1899, allocations: 2.226 MB / 0.6903 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.781, allocations: 5.766 kB / 0.6903 GB, free: 10.85 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)