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: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001192/0.001192, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.08 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.768/0.768, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.62 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003835/0.1343, allocations: 3.049 MB / 0.6793 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1369, allocations: 1.971 MB / 0.6812 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1371, allocations: 4 kB / 0.6812 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1374, allocations: 103 kB / 0.6813 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.1378, allocations: 186.9 kB / 0.6815 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.1385, allocations: 369.6 kB / 0.6818 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005464/0.139, allocations: 0.613 MB / 0.6824 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.1394, allocations: 283.6 kB / 0.6827 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1396, allocations: 235 kB / 0.6829 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.14, allocations: 265.9 kB / 0.6832 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.14, allocations: 56 kB / 0.6832 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1402, allocations: 112 kB / 0.6833 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1404, allocations: 151.5 kB / 0.6835 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1406, allocations: 270.3 kB / 0.6837 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.1412, allocations: 0.7085 MB / 0.6844 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1412, allocations: 0 / 0.6844 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1412, allocations: 0 / 0.6844 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.1412, allocations: 0 / 0.6844 GB, free: 2.004 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.001059/0.1423, allocations: 0.8608 MB / 0.6853 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1423, allocations: 8.031 kB / 0.6853 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1426, allocations: 72.09 kB / 0.6853 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.1431, allocations: 469.7 kB / 0.6858 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1432, allocations: 29.38 kB / 0.6858 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.1432, allocations: 40.12 kB / 0.6858 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.1438, allocations: 412.9 kB / 0.6862 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1438, allocations: 4 kB / 0.6862 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1439, allocations: 16 kB / 0.6863 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1439, allocations: 12.05 kB / 0.6863 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1444, allocations: 318.3 kB / 0.6866 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1459, allocations: 1.198 MB / 0.6877 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.1464, allocations: 347.3 kB / 0.6881 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1465, allocations: 114.2 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1466, allocations: 12.2 kB / 0.6882 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1466, allocations: 38.8 kB / 0.6882 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.362e-06/0.1466, allocations: 0 / 0.6882 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0006922/0.1473, allocations: 399.1 kB / 0.6886 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.1474, allocations: 191.9 kB / 0.6888 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.148, allocations: 0.5566 MB / 0.6893 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1481, allocations: 33.7 kB / 0.6894 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1482, allocations: 260.3 kB / 0.6896 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.1483, allocations: 110.4 kB / 0.6897 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.1484, allocations: 61.97 kB / 0.6898 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1486, allocations: 358.8 kB / 0.6901 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1487, allocations: 105.7 kB / 0.6902 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.149, allocations: 158.8 kB / 0.6904 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1493, allocations: 223.3 kB / 0.6906 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1493, allocations: 0 / 0.6906 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000477/0.1498, allocations: 326 kB / 0.6909 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1498, allocations: 8 kB / 0.6909 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1498, allocations: 0 / 0.6909 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1498, allocations: 0 / 0.6909 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.15, allocations: 55.91 kB / 0.691 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1501, allocations: 3.938 kB / 0.691 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1502, allocations: 55.58 kB / 0.691 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.1502, allocations: 8 kB / 0.691 GB, free: 10.89 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.0002722/0.1505, allocations: 205.7 kB / 0.6912 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1506, allocations: 47.44 kB / 0.6913 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.1512, allocations: 346.3 kB / 0.6916 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1512, allocations: 4 kB / 0.6916 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1512, allocations: 7.938 kB / 0.6916 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1512, allocations: 3.984 kB / 0.6916 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.1518, allocations: 0.5088 MB / 0.6921 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.1518, allocations: 4 kB / 0.6921 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.152, allocations: 47.97 kB / 0.6922 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.152, allocations: 4 kB / 0.6922 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.152, allocations: 8 kB / 0.6922 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1521, allocations: 3.938 kB / 0.6922 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1521, allocations: 3.984 kB / 0.6922 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.1528, allocations: 0.6201 MB / 0.6928 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1529, allocations: 132.4 kB / 0.6929 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.153, allocations: 4 kB / 0.6929 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1532, allocations: 19.98 kB / 0.6929 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.1532, allocations: 31.95 kB / 0.693 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1533, allocations: 8.125 kB / 0.693 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004373/0.1537, allocations: 410.9 kB / 0.6934 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1537, allocations: 0 / 0.6934 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003677/0.1541, allocations: 87.75 kB / 0.6934 GB, free: 8.316 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.0008049/0.1549, allocations: 414.7 kB / 0.6938 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.1553, allocations: 243.8 kB / 0.6941 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1553, allocations: 0 / 0.6941 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.1556, allocations: 139.8 kB / 0.6942 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1561, allocations: 94.27 kB / 0.6943 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1573, allocations: 0.8997 MB / 0.6952 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1577, allocations: 0.8513 MB / 0.696 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1578, allocations: 59.41 kB / 0.6961 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.1578, allocations: 0 / 0.6961 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.00849/0.1663, allocations: 7.001 MB / 0.7029 GB, free: 14.74 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile (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 & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)