Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.001265/0.001265, 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.001261/0.001261, allocations: 192.5 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 178.5 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 93.41 kB / 0.6065 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1517, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005981/0.1577, allocations: 4.046 MB / 0.6975 GB, free: 172 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.1608, allocations: 2.43 MB / 0.6999 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1609, allocations: 4 kB / 0.6999 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1612, allocations: 51.67 kB / 0.7 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1615, allocations: 91.36 kB / 0.7001 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1629, allocations: 0.5241 MB / 0.7006 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1633, allocations: 275.8 kB / 0.7008 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.1633, allocations: 13.55 kB / 0.7008 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1635, allocations: 103.7 kB / 0.7009 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1637, allocations: 99.58 kB / 0.701 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1637, allocations: 8 kB / 0.701 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.1647, allocations: 451.3 kB / 0.7015 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.1648, allocations: 39.83 kB / 0.7015 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1649, allocations: 87.59 kB / 0.7016 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.1657, allocations: 411.2 kB / 0.702 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1657, allocations: 4 kB / 0.702 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1657, allocations: 3.938 kB / 0.702 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1657, allocations: 0 / 0.702 GB, free: 11.61 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008072/0.1665, allocations: 0.5031 MB / 0.7025 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1665, allocations: 8.031 kB / 0.7025 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.1666, allocations: 54.73 kB / 0.7025 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.1687, allocations: 184.5 kB / 0.7027 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.169, allocations: 208.1 kB / 0.7029 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.169, allocations: 8.703 kB / 0.7029 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.1691, allocations: 24.3 kB / 0.703 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.1698, allocations: 300.2 kB / 0.7032 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1698, allocations: 4 kB / 0.7032 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1698, allocations: 8 kB / 0.7033 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1699, allocations: 11.98 kB / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.1706, allocations: 255.6 kB / 0.7035 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.1724, allocations: 1.396 MB / 0.7049 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.1731, allocations: 190.5 kB / 0.7051 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1733, allocations: 80.81 kB / 0.7051 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1734, allocations: 7.938 kB / 0.7051 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1734, allocations: 34.56 kB / 0.7052 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.1734, allocations: 0 / 0.7052 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008284/0.1743, allocations: 247.5 kB / 0.7054 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1743, allocations: 59.34 kB / 0.7055 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1745, allocations: 159.7 kB / 0.7056 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.1745, allocations: 33.7 kB / 0.7056 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.1746, allocations: 128 kB / 0.7058 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1747, allocations: 63.09 kB / 0.7058 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.1748, allocations: 49.92 kB / 0.7059 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1749, allocations: 326.8 kB / 0.7062 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1751, allocations: 64.42 kB / 0.7062 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.1754, allocations: 148.8 kB / 0.7064 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.176, allocations: 218.9 kB / 0.7066 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.176, allocations: 0 / 0.7066 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006462/0.1766, allocations: 249.3 kB / 0.7068 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1766, allocations: 8 kB / 0.7068 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1767, allocations: 0 / 0.7068 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1767, allocations: 4 kB / 0.7068 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.177, allocations: 67.89 kB / 0.7069 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1771, allocations: 7.984 kB / 0.7069 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.1773, allocations: 31.69 kB / 0.707 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1774, allocations: 16.14 kB / 0.707 GB, free: 6.125 MB / 0.4981 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.0001305/0.1775, allocations: 133.7 kB / 0.7071 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.1776, allocations: 19.75 kB / 0.7071 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.1782, allocations: 230.6 kB / 0.7073 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1783, allocations: 0 / 0.7073 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1783, allocations: 0 / 0.7073 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1783, allocations: 4 kB / 0.7073 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.1786, allocations: 245.3 kB / 0.7076 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1786, allocations: 0 / 0.7076 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.1789, allocations: 51.91 kB / 0.7076 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1789, allocations: 0 / 0.7076 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.179, allocations: 11.98 kB / 0.7076 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.179, allocations: 0 / 0.7076 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.179, allocations: 3.938 kB / 0.7076 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.1796, allocations: 296.1 kB / 0.7079 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1797, allocations: 100.9 kB / 0.708 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.1797, allocations: 4 kB / 0.708 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.18, allocations: 23.97 kB / 0.708 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1801, allocations: 7.984 kB / 0.708 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1801, allocations: 8 kB / 0.7081 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.129e-05/0.1802, allocations: 117.1 kB / 0.7082 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1802, allocations: 4 kB / 0.7082 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003742/0.1806, allocations: 68.06 kB / 0.7082 GB, free: 4.723 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 (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.0009992/0.1816, allocations: 0.8623 MB / 0.7091 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005903/0.1822, allocations: 190 kB / 0.7093 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1822, allocations: 0 / 0.7093 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.1825, allocations: 94.11 kB / 0.7094 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.183, allocations: 68.88 kB / 0.7094 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.1863, allocations: 2.146 MB / 0.7115 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1867, allocations: 0.7211 MB / 0.7122 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000357/0.1871, allocations: 49.92 kB / 0.7123 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1872, allocations: 51.41 kB / 0.7123 GB, free: 372 kB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1872, allocations: 0 / 0.7123 GB, free: 372 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.216, allocations: 5.161 MB / 0.7174 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.652, allocations: 6.188 kB / 0.7174 GB, free: 11.4 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)