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.001763/0.001763, allocations: 106.3 kB / 16.36 MB, free: 6.34 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.001636/0.001636, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 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.872/0.872, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.5155 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3742, allocations: 82.04 MB / 0.5957 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003762/0.378, allocations: 3.051 MB / 0.5986 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3803, allocations: 1.96 MB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.3805, allocations: 8 kB / 0.6006 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.3808, allocations: 92.52 kB / 0.6007 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.3812, allocations: 188.3 kB / 0.6008 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3817, allocations: 367.5 kB / 0.6012 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.3822, allocations: 0.6209 MB / 0.6018 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.3826, allocations: 295.1 kB / 0.6021 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3827, allocations: 219.1 kB / 0.6023 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.3831, allocations: 266.8 kB / 0.6025 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.3831, allocations: 56 kB / 0.6026 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3833, allocations: 115.9 kB / 0.6027 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3834, allocations: 155.5 kB / 0.6028 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.3836, allocations: 259.2 kB / 0.6031 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.384, allocations: 0.7085 MB / 0.6038 GB, free: 7.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3841, allocations: 1.5 kB / 0.6038 GB, free: 7.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3841, allocations: 0 / 0.6038 GB, free: 7.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3841, allocations: 0 / 0.6038 GB, free: 7.988 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.000945/0.385, allocations: 0.8589 MB / 0.6046 GB, free: 7.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3851, allocations: 13.41 kB / 0.6046 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.3854, allocations: 72.17 kB / 0.6047 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.3858, allocations: 469.6 kB / 0.6052 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3859, allocations: 30.31 kB / 0.6052 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3859, allocations: 44.06 kB / 0.6052 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.3864, allocations: 411.6 kB / 0.6056 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3864, allocations: 0 / 0.6056 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3865, allocations: 16 kB / 0.6056 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3865, allocations: 8.719 kB / 0.6056 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.3869, allocations: 323.9 kB / 0.606 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.3881, allocations: 1.199 MB / 0.6071 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.3886, allocations: 342.2 kB / 0.6075 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3887, allocations: 115.1 kB / 0.6076 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.3888, allocations: 12.22 kB / 0.6076 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3888, allocations: 36.92 kB / 0.6076 GB, free: 3.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.3888, allocations: 0 / 0.6076 GB, free: 3.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006228/0.3894, allocations: 400.4 kB / 0.608 GB, free: 3.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3895, allocations: 193.5 kB / 0.6082 GB, free: 3.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.39, allocations: 0.5489 MB / 0.6087 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3901, allocations: 37.64 kB / 0.6087 GB, free: 2.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3902, allocations: 269.6 kB / 0.609 GB, free: 2.398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3902, allocations: 106.5 kB / 0.6091 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.3903, allocations: 59.52 kB / 0.6092 GB, free: 2.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.3904, allocations: 358.8 kB / 0.6095 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3905, allocations: 105.6 kB / 0.6096 GB, free: 1.758 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3907, allocations: 162.7 kB / 0.6098 GB, free: 1.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.391, allocations: 221.6 kB / 0.61 GB, free: 1.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.391, allocations: 0.9375 kB / 0.61 GB, free: 1.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003999/0.3914, allocations: 322.1 kB / 0.6103 GB, free: 1.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3914, allocations: 8 kB / 0.6103 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3915, allocations: 0 / 0.6103 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3915, allocations: 5.344 kB / 0.6103 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3917, allocations: 51.91 kB / 0.6103 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3917, allocations: 7.984 kB / 0.6103 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3919, allocations: 40.95 kB / 0.6104 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3919, allocations: 8 kB / 0.6104 GB, free: 0.9141 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.0002332/0.3921, allocations: 203.3 kB / 0.6106 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.3922, allocations: 55.34 kB / 0.6106 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.3927, allocations: 351.9 kB / 0.611 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3927, allocations: 8.031 kB / 0.611 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3927, allocations: 0.9062 kB / 0.611 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3927, allocations: 4 kB / 0.611 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.3933, allocations: 0.5127 MB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3933, allocations: 1.219 kB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3935, allocations: 55.91 kB / 0.6115 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3935, allocations: 0 / 0.6115 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3935, allocations: 9.5 kB / 0.6116 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3935, allocations: 0 / 0.6116 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3935, allocations: 3.938 kB / 0.6116 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.3943, allocations: 0.6294 MB / 0.6122 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3945, allocations: 128.5 kB / 0.6123 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.3945, allocations: 4 kB / 0.6123 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3947, allocations: 21.45 kB / 0.6123 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.3948, allocations: 27.97 kB / 0.6123 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3948, allocations: 9.344 kB / 0.6124 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.3953, allocations: 414.8 kB / 0.6128 GB, free: 14.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3953, allocations: 0 / 0.6128 GB, free: 14.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.3957, allocations: 99.59 kB / 0.6128 GB, free: 14.32 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.0009056/0.3967, allocations: 407.8 kB / 0.6132 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.3971, allocations: 239.8 kB / 0.6135 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3971, allocations: 0 / 0.6135 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.3974, allocations: 146.4 kB / 0.6136 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.3979, allocations: 91.5 kB / 0.6137 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3992, allocations: 0.8553 MB / 0.6145 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3996, allocations: 0.8533 MB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.3998, allocations: 97.66 kB / 0.6155 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4, allocations: 51.91 kB / 0.6155 GB, free: 11.74 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4, allocations: 5.219 kB / 0.6155 GB, free: 11.73 MB / 462.1 MB Notification: Performance of Templates: time 0.00931/0.4093, allocations: 5.034 MB / 0.6204 GB, free: 6.781 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)