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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001149, allocations: 200.7 kB / 16.14 MB, free: 6.656 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.9938/0.9938, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.89 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.163, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004515/0.1675, allocations: 3.066 MB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.1707, allocations: 1.916 MB / 0.5985 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.1711, allocations: 15.94 kB / 0.5985 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.1715, allocations: 67.5 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005859/0.1721, allocations: 151.4 kB / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.173, allocations: 342.6 kB / 0.599 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007496/0.1737, allocations: 0.5662 MB / 0.5996 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.1742, allocations: 287.9 kB / 0.5998 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.1744, allocations: 179 kB / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.1748, allocations: 242.6 kB / 0.6002 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.1749, allocations: 24 kB / 0.6003 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1752, allocations: 75.97 kB / 0.6003 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1753, allocations: 115.5 kB / 0.6004 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.1755, allocations: 238.4 kB / 0.6007 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.1762, allocations: 0.6619 MB / 0.6013 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1762, allocations: 0 / 0.6013 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1762, allocations: 0 / 0.6013 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.1762, allocations: 4 kB / 0.6013 GB, free: 2.129 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001336/0.1776, allocations: 0.853 MB / 0.6022 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1776, allocations: 15.97 kB / 0.6022 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.1779, allocations: 72.17 kB / 0.6022 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.1785, allocations: 461.7 kB / 0.6027 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.1786, allocations: 37.31 kB / 0.6027 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.1787, allocations: 40.12 kB / 0.6028 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.1793, allocations: 416.9 kB / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1794, allocations: 0 / 0.6031 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.1794, allocations: 16 kB / 0.6032 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1794, allocations: 8 kB / 0.6032 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2543/0.4337, allocations: 313.3 kB / 0.6035 GB, free: 44.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.4354, allocations: 1.215 MB / 0.6047 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.4358, allocations: 333 kB / 0.605 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.436, allocations: 119.2 kB / 0.6051 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.4361, allocations: 12.05 kB / 0.6051 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4361, allocations: 39.55 kB / 0.6051 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.4361, allocations: 0.6875 kB / 0.6051 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006703/0.4368, allocations: 404.9 kB / 0.6055 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4368, allocations: 182.7 kB / 0.6057 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.4374, allocations: 0.5525 MB / 0.6062 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4374, allocations: 32.61 kB / 0.6063 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4376, allocations: 274 kB / 0.6065 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.4376, allocations: 105.2 kB / 0.6066 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.4377, allocations: 61.23 kB / 0.6067 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.4378, allocations: 361.6 kB / 0.607 GB, free: 42.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.438, allocations: 104.2 kB / 0.6071 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4382, allocations: 154.2 kB / 0.6073 GB, free: 42.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.4385, allocations: 229.4 kB / 0.6075 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4385, allocations: 0.8125 kB / 0.6075 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004415/0.4389, allocations: 320.2 kB / 0.6078 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.439, allocations: 6.5 kB / 0.6078 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.439, allocations: 0 / 0.6078 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.439, allocations: 6.594 kB / 0.6078 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.4392, allocations: 56.91 kB / 0.6079 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4392, allocations: 4.844 kB / 0.6079 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.4394, allocations: 40.2 kB / 0.6079 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.4394, allocations: 16.94 kB / 0.6079 GB, free: 42.66 MB / 0.4981 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.0002958/0.4397, allocations: 194.8 kB / 0.6081 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4398, allocations: 56.23 kB / 0.6082 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.4404, allocations: 347.8 kB / 0.6085 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4404, allocations: 5.656 kB / 0.6085 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4404, allocations: 3.438 kB / 0.6085 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4404, allocations: 3.844 kB / 0.6085 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.4409, allocations: 0.5092 MB / 0.609 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4409, allocations: 0 / 0.609 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.4411, allocations: 54.12 kB / 0.6091 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4411, allocations: 0 / 0.6091 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4412, allocations: 11.38 kB / 0.6091 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4412, allocations: 6.844 kB / 0.6091 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4412, allocations: 0 / 0.6091 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.4418, allocations: 0.6223 MB / 0.6097 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.4419, allocations: 126.9 kB / 0.6098 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.442, allocations: 11.81 kB / 0.6098 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.4422, allocations: 27.03 kB / 0.6098 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.4423, allocations: 27.41 kB / 0.6099 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4423, allocations: 12.56 kB / 0.6099 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004005/0.4427, allocations: 405.2 kB / 0.6103 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4427, allocations: 2.562 kB / 0.6103 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003961/0.4431, allocations: 90.19 kB / 0.6104 GB, free: 41.3 MB / 0.4981 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.0008866/0.444, allocations: 418.1 kB / 0.6108 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.4444, allocations: 248.5 kB / 0.611 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4444, allocations: 0 / 0.611 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.4446, allocations: 139.7 kB / 0.6111 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.4452, allocations: 79.81 kB / 0.6112 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4465, allocations: 1.047 MB / 0.6122 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.4468, allocations: 0.8633 MB / 0.6131 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.4471, allocations: 87.38 kB / 0.6132 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4472, allocations: 52.09 kB / 0.6132 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.4472, allocations: 4 kB / 0.6132 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.008176/0.4554, allocations: 4.811 MB / 0.6179 GB, free: 39.19 MB / 0.4981 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)