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-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.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.004699/0.004699, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001237/0.001237, allocations: 190.1 kB / 16.67 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.388/1.388, 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-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.8883/0.8883, allocations: 143.3 MB / 433.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 68.59 kB / 0.5954 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1559, allocations: 82.02 MB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005802/0.1617, allocations: 4.049 MB / 0.6794 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.165, allocations: 2.445 MB / 0.6818 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.1651, allocations: 0 / 0.6818 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.1654, allocations: 43.67 kB / 0.6819 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1657, allocations: 99.36 kB / 0.682 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1672, allocations: 0.5233 MB / 0.6825 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1676, allocations: 263.9 kB / 0.6827 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1676, allocations: 5.562 kB / 0.6827 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1679, allocations: 115.5 kB / 0.6828 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.168, allocations: 91.66 kB / 0.6829 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1681, allocations: 8 kB / 0.6829 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.169, allocations: 463.2 kB / 0.6834 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.1691, allocations: 43.89 kB / 0.6834 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1692, allocations: 87.52 kB / 0.6835 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.1699, allocations: 415 kB / 0.6839 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1699, allocations: 4 kB / 0.6839 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1699, allocations: 0 / 0.6839 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.17, allocations: 0 / 0.6839 GB, free: 1.895 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.0008229/0.1708, allocations: 0.5128 MB / 0.6844 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1708, allocations: 8.031 kB / 0.6844 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.1709, allocations: 50.73 kB / 0.6845 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.1728, allocations: 176.6 kB / 0.6846 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1732, allocations: 216.1 kB / 0.6848 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1732, allocations: 8.703 kB / 0.6848 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.1733, allocations: 24.38 kB / 0.6849 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.174, allocations: 300.2 kB / 0.6852 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.174, allocations: 7.938 kB / 0.6852 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.174, allocations: 4 kB / 0.6852 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.1741, allocations: 8 kB / 0.6852 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.1748, allocations: 255.6 kB / 0.6854 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1766, allocations: 1.396 MB / 0.6868 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.1773, allocations: 195.1 kB / 0.687 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1776, allocations: 76.81 kB / 0.687 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1776, allocations: 4 kB / 0.687 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1776, allocations: 42.56 kB / 0.6871 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.1776, allocations: 0 / 0.6871 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0008479/0.1785, allocations: 244.3 kB / 0.6873 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1786, allocations: 55.41 kB / 0.6874 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1787, allocations: 160.4 kB / 0.6875 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1788, allocations: 29.7 kB / 0.6875 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.1789, allocations: 132.2 kB / 0.6877 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.1789, allocations: 71.41 kB / 0.6877 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.179, allocations: 41.94 kB / 0.6878 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1792, allocations: 334.8 kB / 0.6881 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1794, allocations: 64.42 kB / 0.6882 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.1797, allocations: 142.3 kB / 0.6883 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.1802, allocations: 217.2 kB / 0.6885 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1803, allocations: 0 / 0.6885 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006326/0.1809, allocations: 259.6 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1809, allocations: 4 kB / 0.6888 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1809, allocations: 7.938 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.181, allocations: 4 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.1813, allocations: 63.89 kB / 0.6888 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1813, allocations: 4 kB / 0.6888 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1816, allocations: 35.7 kB / 0.6889 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1816, allocations: 20.22 kB / 0.6889 GB, free: 12.4 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.0001404/0.1818, allocations: 139.6 kB / 0.689 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.1818, allocations: 19.89 kB / 0.689 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.1825, allocations: 222.7 kB / 0.6893 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1825, allocations: 0 / 0.6893 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1825, allocations: 3.984 kB / 0.6893 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1825, allocations: 3.938 kB / 0.6893 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1828, allocations: 249.8 kB / 0.6895 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1829, allocations: 4 kB / 0.6895 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.1832, allocations: 43.97 kB / 0.6895 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1832, allocations: 0 / 0.6895 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1832, allocations: 8 kB / 0.6896 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1832, allocations: 0 / 0.6896 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1832, allocations: 0 / 0.6896 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.1838, allocations: 303.2 kB / 0.6898 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1839, allocations: 105 kB / 0.6899 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.184, allocations: 4 kB / 0.6899 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1843, allocations: 11.98 kB / 0.69 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1843, allocations: 15.98 kB / 0.69 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.1843, allocations: 7.984 kB / 0.69 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000111/0.1845, allocations: 122.1 kB / 0.6901 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1845, allocations: 4 kB / 0.6901 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003611/0.1848, allocations: 59.94 kB / 0.6902 GB, free: 11 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.001077/0.1859, allocations: 0.8744 MB / 0.691 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.1865, allocations: 179.8 kB / 0.6912 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1865, allocations: 0 / 0.6912 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.1867, allocations: 89.95 kB / 0.6913 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1872, allocations: 64.5 kB / 0.6913 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.1906, allocations: 2.164 MB / 0.6934 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.191, allocations: 0.7211 MB / 0.6941 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.1913, allocations: 53.92 kB / 0.6942 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1914, allocations: 47.42 kB / 0.6942 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.1914, allocations: 0 / 0.6942 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.2193, allocations: 5.241 MB / 0.6994 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.165, allocations: 3.25 kB / 0.6994 GB, free: 1.594 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)