Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.005319/0.005319, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001063/0.001063, 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.855/0.855, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.81 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 82.03 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00531/0.1463, allocations: 4.056 MB / 0.6792 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.1492, allocations: 2.43 MB / 0.6816 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1494, allocations: 0 / 0.6816 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1497, allocations: 47.67 kB / 0.6816 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.15, allocations: 111.3 kB / 0.6817 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1513, allocations: 0.5263 MB / 0.6822 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1517, allocations: 259.9 kB / 0.6825 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.1517, allocations: 13.56 kB / 0.6825 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.152, allocations: 115.5 kB / 0.6826 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1522, allocations: 99.64 kB / 0.6827 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1522, allocations: 8 kB / 0.6827 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009043/0.1531, allocations: 455.2 kB / 0.6831 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1532, allocations: 39.89 kB / 0.6832 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1533, allocations: 87.58 kB / 0.6833 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.1541, allocations: 418.9 kB / 0.6837 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1541, allocations: 0 / 0.6837 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.795e-06/0.1541, allocations: 4 kB / 0.6837 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1541, allocations: 4 kB / 0.6837 GB, free: 2.125 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008009/0.1549, allocations: 0.5063 MB / 0.6842 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.155, allocations: 8.031 kB / 0.6842 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.155, allocations: 54.73 kB / 0.6842 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.157, allocations: 172.6 kB / 0.6844 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1574, allocations: 216.1 kB / 0.6846 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1574, allocations: 12.7 kB / 0.6846 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.1575, allocations: 20.36 kB / 0.6846 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.1582, allocations: 300.2 kB / 0.6849 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1582, allocations: 3.938 kB / 0.6849 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.1582, allocations: 8 kB / 0.6849 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.1583, allocations: 12 kB / 0.6849 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.159, allocations: 259.5 kB / 0.6852 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1606, allocations: 1.393 MB / 0.6865 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.1613, allocations: 200.2 kB / 0.6867 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1615, allocations: 76.81 kB / 0.6868 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1616, allocations: 4 kB / 0.6868 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1616, allocations: 34.56 kB / 0.6868 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.1616, allocations: 0 / 0.6868 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008429/0.1625, allocations: 249.4 kB / 0.6871 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1625, allocations: 51.41 kB / 0.6871 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.1627, allocations: 160.4 kB / 0.6873 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1627, allocations: 29.7 kB / 0.6873 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.1628, allocations: 132.2 kB / 0.6874 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.1628, allocations: 67.42 kB / 0.6875 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.1629, allocations: 53.92 kB / 0.6876 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1631, allocations: 326.8 kB / 0.6879 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1633, allocations: 64.42 kB / 0.6879 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1635, allocations: 147 kB / 0.6881 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.164, allocations: 219.6 kB / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.164, allocations: 4 kB / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000604/0.1647, allocations: 249.2 kB / 0.6885 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1647, allocations: 13.75 kB / 0.6885 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1647, allocations: 4.312 kB / 0.6885 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1647, allocations: 8 kB / 0.6885 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.1651, allocations: 67.89 kB / 0.6886 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1651, allocations: 7.984 kB / 0.6886 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1653, allocations: 27.78 kB / 0.6886 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1654, allocations: 19.92 kB / 0.6887 GB, free: 12.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001268/0.1655, allocations: 134.3 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.1656, allocations: 19.91 kB / 0.6888 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.1662, allocations: 228.7 kB / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1662, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1662, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1662, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.1665, allocations: 245.7 kB / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1665, allocations: 0 / 0.6893 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1668, allocations: 47.91 kB / 0.6893 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1668, allocations: 0 / 0.6893 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1669, allocations: 11.98 kB / 0.6893 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1669, allocations: 4 kB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1669, allocations: 0 / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.1675, allocations: 300.9 kB / 0.6896 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1676, allocations: 105 kB / 0.6897 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1676, allocations: 8 kB / 0.6897 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1679, allocations: 15.98 kB / 0.6897 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.1679, allocations: 15.97 kB / 0.6897 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.168, allocations: 8 kB / 0.6898 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.606e-05/0.1681, allocations: 113.3 kB / 0.6899 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1681, allocations: 4 kB / 0.6899 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003659/0.1684, allocations: 59.94 kB / 0.6899 GB, free: 11.23 MB / 0.5294 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 (20): * Single equations (assignments): 20 * 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.001034/0.1695, allocations: 0.8837 MB / 0.6908 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.1701, allocations: 178.3 kB / 0.691 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1701, allocations: 4 kB / 0.691 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1703, allocations: 83.89 kB / 0.691 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.1709, allocations: 59.88 kB / 0.6911 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.1745, allocations: 2.172 MB / 0.6932 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1748, allocations: 0.7172 MB / 0.6939 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.1751, allocations: 53.92 kB / 0.694 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1752, allocations: 47.41 kB / 0.694 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.1753, allocations: 0 / 0.694 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1972, allocations: 5.24 MB / 0.6991 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.537, allocations: 12.86 kB / 0.6991 GB, free: 1.816 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_TemperatureDependentDensityProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)