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.009312/0.009312, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002084/0.002084, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.539 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 1.031/1.031, allocations: 143 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.88 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.199, allocations: 82.02 MB / 0.5942 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005286/0.2043, allocations: 3.092 MB / 0.5973 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.2073, allocations: 1.916 MB / 0.5991 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.2076, allocations: 11.94 kB / 0.5991 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.208, allocations: 71.48 kB / 0.5992 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.2084, allocations: 147.3 kB / 0.5993 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.2091, allocations: 342.7 kB / 0.5997 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.2097, allocations: 0.5584 MB / 0.6002 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.2101, allocations: 287.9 kB / 0.6005 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.2103, allocations: 179 kB / 0.6007 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.2106, allocations: 238.7 kB / 0.6009 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.2107, allocations: 24 kB / 0.6009 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2108, allocations: 79.95 kB / 0.601 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.211, allocations: 115.5 kB / 0.6011 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2112, allocations: 238.3 kB / 0.6013 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2117, allocations: 0.5381 MB / 0.6019 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2117, allocations: 4 kB / 0.6019 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2117, allocations: 0 / 0.6019 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2117, allocations: 0 / 0.6019 GB, free: 2.191 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.001193/0.2129, allocations: 0.8676 MB / 0.6027 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2129, allocations: 8.031 kB / 0.6027 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.2132, allocations: 76.17 kB / 0.6028 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.2138, allocations: 465.7 kB / 0.6032 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.2138, allocations: 29.38 kB / 0.6033 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.2139, allocations: 36.12 kB / 0.6033 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/0.2146, allocations: 412.9 kB / 0.6037 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2146, allocations: 8 kB / 0.6037 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.2146, allocations: 12 kB / 0.6037 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2146, allocations: 12 kB / 0.6037 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3562/0.5708, allocations: 309.2 kB / 0.604 GB, free: 44.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.5727, allocations: 1.213 MB / 0.6052 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.5732, allocations: 339.8 kB / 0.6055 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.5734, allocations: 113.4 kB / 0.6056 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.5734, allocations: 10.84 kB / 0.6056 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5734, allocations: 39.23 kB / 0.6057 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.5735, allocations: 0.5625 kB / 0.6057 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007456/0.5742, allocations: 407.3 kB / 0.6061 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.5743, allocations: 189 kB / 0.6062 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.5749, allocations: 0.5583 MB / 0.6068 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.575, allocations: 30.52 kB / 0.6068 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5751, allocations: 263.8 kB / 0.6071 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.5752, allocations: 110.6 kB / 0.6072 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.5753, allocations: 59.98 kB / 0.6072 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.5754, allocations: 360.2 kB / 0.6076 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.5756, allocations: 107.2 kB / 0.6077 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.5758, allocations: 153.5 kB / 0.6078 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.5761, allocations: 232.4 kB / 0.608 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5761, allocations: 2.656 kB / 0.608 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004444/0.5766, allocations: 316.1 kB / 0.6083 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5766, allocations: 5.562 kB / 0.6084 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5766, allocations: 0.5625 kB / 0.6084 GB, free: 42.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.5766, allocations: 7.562 kB / 0.6084 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5768, allocations: 53.92 kB / 0.6084 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5769, allocations: 4.906 kB / 0.6084 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.577, allocations: 48.72 kB / 0.6085 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.5771, allocations: 6.375 kB / 0.6085 GB, free: 42.71 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.0003398/0.5774, allocations: 197.2 kB / 0.6087 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.5775, allocations: 57.56 kB / 0.6087 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.5781, allocations: 348.9 kB / 0.609 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5781, allocations: 5.719 kB / 0.6091 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5781, allocations: 0.5156 kB / 0.6091 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.5781, allocations: 0.75 kB / 0.6091 GB, free: 42.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.5786, allocations: 0.5182 MB / 0.6096 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5787, allocations: 0.5 kB / 0.6096 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.5789, allocations: 55.66 kB / 0.6096 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5789, allocations: 2.906 kB / 0.6096 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.5789, allocations: 14.34 kB / 0.6096 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5789, allocations: 5.438 kB / 0.6096 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5789, allocations: 0 / 0.6096 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.5796, allocations: 0.6186 MB / 0.6102 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.5797, allocations: 135.2 kB / 0.6104 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.5798, allocations: 10.66 kB / 0.6104 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.58, allocations: 21.84 kB / 0.6104 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.5801, allocations: 25.5 kB / 0.6104 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.5801, allocations: 15.17 kB / 0.6104 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004243/0.5805, allocations: 401.1 kB / 0.6108 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5805, allocations: 1.438 kB / 0.6108 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003948/0.5809, allocations: 92.28 kB / 0.6109 GB, free: 41.35 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.0009812/0.5819, allocations: 407.2 kB / 0.6113 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.5824, allocations: 251.5 kB / 0.6115 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5824, allocations: 0 / 0.6115 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.5826, allocations: 140.9 kB / 0.6117 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.5832, allocations: 73.11 kB / 0.6117 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5846, allocations: 1.084 MB / 0.6128 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5849, allocations: 0.8595 MB / 0.6136 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5851, allocations: 52.05 kB / 0.6137 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5851, allocations: 6.844 kB / 0.6137 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.008154/0.5933, allocations: 6.847 MB / 0.6204 GB, free: 38.8 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)