Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",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.00465/0.00465, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001136/0.001136, allocations: 192.3 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.846/0.846, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.34 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 82.04 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004262/0.1414, allocations: 3.049 MB / 0.6781 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.1444, allocations: 1.971 MB / 0.68 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.1447, allocations: 8 kB / 0.68 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.145, allocations: 95.11 kB / 0.6801 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1455, allocations: 186.9 kB / 0.6803 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.1462, allocations: 369.5 kB / 0.6807 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.1468, allocations: 0.6209 MB / 0.6813 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1472, allocations: 295.6 kB / 0.6815 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1474, allocations: 223 kB / 0.6818 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.1478, allocations: 262.7 kB / 0.682 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.303e-05/0.1479, allocations: 60 kB / 0.6821 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1481, allocations: 119.9 kB / 0.6822 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1483, allocations: 147.5 kB / 0.6823 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.1485, allocations: 274.4 kB / 0.6826 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.1492, allocations: 0.7002 MB / 0.6833 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.1492, allocations: 8 kB / 0.6833 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1492, allocations: 0 / 0.6833 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.1492, allocations: 4 kB / 0.6833 GB, free: 2.465 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001196/0.1504, allocations: 0.8834 MB / 0.6841 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1505, allocations: 8.031 kB / 0.6842 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.401e-05/0.1506, allocations: 74.72 kB / 0.6842 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.1509, allocations: 84.44 kB / 0.6843 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.1514, allocations: 470.1 kB / 0.6848 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.1515, allocations: 29.38 kB / 0.6848 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.1516, allocations: 39.94 kB / 0.6848 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.1522, allocations: 416.9 kB / 0.6852 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1522, allocations: 0 / 0.6852 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.1522, allocations: 20 kB / 0.6852 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1523, allocations: 8 kB / 0.6852 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.1528, allocations: 318.4 kB / 0.6855 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.1545, allocations: 1.198 MB / 0.6867 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.155, allocations: 343.6 kB / 0.687 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1552, allocations: 118.2 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.1553, allocations: 8.234 kB / 0.6872 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1553, allocations: 42.77 kB / 0.6872 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.1553, allocations: 4 kB / 0.6872 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0007423/0.1561, allocations: 403.3 kB / 0.6876 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.1562, allocations: 183.9 kB / 0.6878 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.1569, allocations: 0.5644 MB / 0.6883 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1569, allocations: 29.7 kB / 0.6883 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1571, allocations: 260.6 kB / 0.6886 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.1572, allocations: 111.1 kB / 0.6887 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.1573, allocations: 69.91 kB / 0.6888 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1574, allocations: 358.8 kB / 0.6891 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1577, allocations: 101.7 kB / 0.6892 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1579, allocations: 158.8 kB / 0.6894 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1583, allocations: 227.2 kB / 0.6896 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1583, allocations: 7.938 kB / 0.6896 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005095/0.1588, allocations: 318.1 kB / 0.6899 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1588, allocations: 4 kB / 0.6899 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1588, allocations: 0 / 0.6899 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1589, allocations: 4 kB / 0.6899 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1591, allocations: 55.97 kB / 0.6899 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1591, allocations: 4 kB / 0.69 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1593, allocations: 39.77 kB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1593, allocations: 8 kB / 0.69 GB, free: 11.24 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0003421/0.1597, allocations: 205.7 kB / 0.6902 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1598, allocations: 55.62 kB / 0.6902 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.1604, allocations: 346.3 kB / 0.6906 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1605, allocations: 4.375 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1605, allocations: 0 / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1605, allocations: 7.938 kB / 0.6906 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.1611, allocations: 0.5244 MB / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1611, allocations: 0 / 0.6911 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.1613, allocations: 55.91 kB / 0.6912 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1613, allocations: 0 / 0.6912 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1613, allocations: 8 kB / 0.6912 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1613, allocations: 0 / 0.6912 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1614, allocations: 11.98 kB / 0.6912 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.1621, allocations: 0.6204 MB / 0.6918 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1623, allocations: 128.7 kB / 0.6919 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.1623, allocations: 8 kB / 0.6919 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1626, allocations: 15.98 kB / 0.6919 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.1627, allocations: 36.02 kB / 0.692 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1627, allocations: 8 kB / 0.692 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005347/0.1632, allocations: 406.8 kB / 0.6924 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1632, allocations: 0 / 0.6924 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004418/0.1637, allocations: 99.77 kB / 0.6925 GB, free: 8.633 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001895/0.1656, allocations: 1.47 MB / 0.6939 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.1661, allocations: 231.8 kB / 0.6941 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1661, allocations: 0 / 0.6941 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.1663, allocations: 144.8 kB / 0.6942 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.167, allocations: 93.39 kB / 0.6943 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.1716, allocations: 3.85 MB / 0.6981 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.172, allocations: 0.8552 MB / 0.6989 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000248/0.1722, allocations: 99.48 kB / 0.699 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.1725, allocations: 199.3 kB / 0.6992 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/0.1725, allocations: 0 / 0.6992 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.2084, allocations: 9.583 MB / 0.7086 GB, free: 8.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.418, allocations: 12.3 kB / 0.7086 GB, free: 8.266 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)