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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: 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.00137/0.00137, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001527/0.001527, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.521/1.521, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.002/1.002, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 63.89 kB / 0.5151 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4258, allocations: 82.03 MB / 0.5952 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003757/0.4296, allocations: 3.047 MB / 0.5981 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.432, allocations: 1.959 MB / 0.6001 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.4323, allocations: 8.594 kB / 0.6001 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.4326, allocations: 99.09 kB / 0.6002 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.4331, allocations: 184.6 kB / 0.6003 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.4337, allocations: 373 kB / 0.6007 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.4341, allocations: 0.6132 MB / 0.6013 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.4344, allocations: 291.5 kB / 0.6016 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4346, allocations: 223 kB / 0.6018 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.4349, allocations: 258.7 kB / 0.602 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.435, allocations: 60 kB / 0.6021 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.4352, allocations: 117.4 kB / 0.6022 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4353, allocations: 151.5 kB / 0.6023 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.4354, allocations: 262.4 kB / 0.6026 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.4359, allocations: 0.6814 MB / 0.6033 GB, free: 7.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4359, allocations: 5.312 kB / 0.6033 GB, free: 7.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4359, allocations: 3.984 kB / 0.6033 GB, free: 7.711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4359, allocations: 0 / 0.6033 GB, free: 7.711 MB / 446.1 MB 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.0009593/0.4369, allocations: 0.8551 MB / 0.6041 GB, free: 6.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4369, allocations: 9.5 kB / 0.6041 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.4372, allocations: 68.19 kB / 0.6042 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.4377, allocations: 469.6 kB / 0.6046 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.4377, allocations: 38.08 kB / 0.6047 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4378, allocations: 40.12 kB / 0.6047 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.4383, allocations: 423.3 kB / 0.6051 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4383, allocations: 0 / 0.6051 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4384, allocations: 16.97 kB / 0.6051 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4384, allocations: 8 kB / 0.6051 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.4388, allocations: 317.7 kB / 0.6054 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.4401, allocations: 1.212 MB / 0.6066 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.4405, allocations: 343 kB / 0.6069 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4407, allocations: 119 kB / 0.607 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.4407, allocations: 13.64 kB / 0.6071 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4407, allocations: 38.8 kB / 0.6071 GB, free: 3.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/0.4408, allocations: 1.5 kB / 0.6071 GB, free: 3.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006502/0.4414, allocations: 397.8 kB / 0.6075 GB, free: 3.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4415, allocations: 185.3 kB / 0.6077 GB, free: 2.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.442, allocations: 0.5567 MB / 0.6082 GB, free: 2.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.442, allocations: 29.7 kB / 0.6082 GB, free: 2.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4422, allocations: 265.7 kB / 0.6085 GB, free: 2.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.4422, allocations: 106.5 kB / 0.6086 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.4423, allocations: 61.97 kB / 0.6086 GB, free: 1.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.4424, allocations: 360.3 kB / 0.609 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4426, allocations: 101.4 kB / 0.6091 GB, free: 1.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4428, allocations: 161 kB / 0.6092 GB, free: 1.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.4431, allocations: 233.2 kB / 0.6095 GB, free: 1.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4431, allocations: 0 / 0.6095 GB, free: 1.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004223/0.4435, allocations: 318.1 kB / 0.6098 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4435, allocations: 4 kB / 0.6098 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4436, allocations: 0 / 0.6098 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4436, allocations: 5.469 kB / 0.6098 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4438, allocations: 52.22 kB / 0.6098 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4438, allocations: 4 kB / 0.6098 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.444, allocations: 45.02 kB / 0.6099 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.444, allocations: 15.98 kB / 0.6099 GB, free: 0.6367 MB / 446.1 MB 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.0003167/0.4443, allocations: 205.2 kB / 0.6101 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.4444, allocations: 52.41 kB / 0.6101 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4449, allocations: 355.6 kB / 0.6105 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.445, allocations: 7.938 kB / 0.6105 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.445, allocations: 0 / 0.6105 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.445, allocations: 5.234 kB / 0.6105 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007142/0.4457, allocations: 0.5088 MB / 0.611 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4457, allocations: 0 / 0.611 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4459, allocations: 57.41 kB / 0.611 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.446, allocations: 0 / 0.611 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.446, allocations: 8 kB / 0.611 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.446, allocations: 7.984 kB / 0.611 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.446, allocations: 1.344 kB / 0.611 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.4469, allocations: 0.6227 MB / 0.6117 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.4471, allocations: 124.5 kB / 0.6118 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.4471, allocations: 9.344 kB / 0.6118 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4474, allocations: 15.98 kB / 0.6118 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.4475, allocations: 32.86 kB / 0.6118 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4475, allocations: 8 kB / 0.6118 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.4481, allocations: 412.1 kB / 0.6122 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4481, allocations: 0 / 0.6122 GB, free: 14.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.4485, allocations: 95.59 kB / 0.6123 GB, free: 14.05 MB / 462.1 MB 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.001463/0.45, allocations: 411.1 kB / 0.6127 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.4506, allocations: 268.8 kB / 0.613 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4506, allocations: 5.281 kB / 0.613 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.4508, allocations: 137.7 kB / 0.6131 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.4514, allocations: 92.47 kB / 0.6132 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4531, allocations: 0.9113 MB / 0.6141 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.4536, allocations: 0.8567 MB / 0.6149 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4538, allocations: 56.31 kB / 0.615 GB, free: 11.46 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4538, allocations: 0.5 kB / 0.615 GB, free: 11.46 MB / 462.1 MB Notification: Performance of Templates: time 0.01168/0.4655, allocations: 6.86 MB / 0.6217 GB, free: 4.633 MB / 462.1 MB 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)