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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 88.23 kB / 20.46 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8789/0.8789, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5443/0.5443, allocations: 110.2 MB / 371 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 3.938 kB / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.336e-05, allocations: 5.703 kB / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002664/0.002677, allocations: 3.039 MB / 478.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.004584, allocations: 2.266 MB / 480.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.00476, allocations: 11.59 kB / 480.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.005033, allocations: 101.3 kB / 480.6 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.005507, allocations: 279 kB / 480.8 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.005957, allocations: 370.3 kB / 481.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.006388, allocations: 0.6824 MB / 481.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.006617, allocations: 186 kB / 482.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.006885, allocations: 368.8 kB / 482.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.00708, allocations: 198.8 kB / 482.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.007147, allocations: 63.92 kB / 482.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.007336, allocations: 156.2 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.007423, allocations: 164.1 kB / 483 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.007521, allocations: 168.2 kB / 483.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.007931, allocations: 0.4955 MB / 483.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.007933, allocations: 0 / 483.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007934, allocations: 0 / 483.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.007941, allocations: 0.625 kB / 483.6 MB, free: 9.98 MB / 410.7 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.0007382/0.00868, allocations: 0.9184 MB / 484.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.008712, allocations: 18.06 kB / 484.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.008926, allocations: 103.3 kB / 484.7 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.00934, allocations: 488.1 kB / 485.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.00937, allocations: 28.47 kB / 485.2 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.009413, allocations: 37.56 kB / 485.2 MB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.009785, allocations: 428.6 kB / 485.6 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.009795, allocations: 5.281 kB / 485.6 MB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.00982, allocations: 16.22 kB / 485.7 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.009832, allocations: 8.688 kB / 485.7 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.01005, allocations: 161 kB / 485.8 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.01093, allocations: 1.045 MB / 486.9 MB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01119, allocations: 198.4 kB / 487.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.01127, allocations: 63.69 kB / 487.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.01129, allocations: 15.47 kB / 487.1 MB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.01131, allocations: 44.31 kB / 487.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.01131, allocations: 1.188 kB / 487.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003765/0.01169, allocations: 267.8 kB / 487.4 MB, free: 7.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.01172, allocations: 185.3 kB / 487.6 MB, free: 7.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.01219, allocations: 0.5004 MB / 488.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01221, allocations: 32.39 kB / 488.2 MB, free: 22.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.01234, allocations: 334.7 kB / 488.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.01239, allocations: 109.8 kB / 488.6 MB, free: 22.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.01245, allocations: 61.95 kB / 488.7 MB, free: 22.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01259, allocations: 0.5336 MB / 489.2 MB, free: 22.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.01267, allocations: 58.06 kB / 489.2 MB, free: 22.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01278, allocations: 229.1 kB / 489.5 MB, free: 21.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01293, allocations: 138.1 kB / 489.6 MB, free: 21.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01293, allocations: 1.906 kB / 489.6 MB, free: 21.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002702/0.0132, allocations: 233.4 kB / 489.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01322, allocations: 5.188 kB / 489.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01322, allocations: 6.844 kB / 489.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01323, allocations: 2.75 kB / 489.8 MB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01338, allocations: 55.86 kB / 489.9 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01339, allocations: 2.5 kB / 489.9 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.01347, allocations: 28.58 kB / 489.9 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01348, allocations: 12.19 kB / 489.9 MB, free: 21.59 MB / 426.7 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.0001543/0.01364, allocations: 174.7 kB / 490.1 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.01372, allocations: 62.75 kB / 490.2 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.01404, allocations: 270.8 kB / 490.4 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01404, allocations: 4.875 kB / 490.4 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01404, allocations: 0 / 490.4 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01405, allocations: 4.969 kB / 490.5 MB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.01437, allocations: 370.5 kB / 490.8 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01437, allocations: 1.156 kB / 490.8 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.01451, allocations: 49.14 kB / 490.9 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01452, allocations: 1.25 kB / 490.9 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.01453, allocations: 14.97 kB / 490.9 MB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01454, allocations: 5 kB / 490.9 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01454, allocations: 1.156 kB / 490.9 MB, free: 21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.01498, allocations: 0.5396 MB / 491.4 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.01502, allocations: 66.02 kB / 491.5 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.01506, allocations: 6.219 kB / 491.5 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.01516, allocations: 11.94 kB / 491.5 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.01521, allocations: 27.3 kB / 491.5 MB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.01523, allocations: 17.06 kB / 491.5 MB, free: 20.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.01549, allocations: 350.9 kB / 491.9 MB, free: 20.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0155, allocations: 0 / 491.9 MB, free: 20.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.01582, allocations: 116.5 kB / 492 MB, free: 20.35 MB / 426.7 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.0007781/0.0166, allocations: 452.2 kB / 492.4 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01683, allocations: 150.2 kB / 492.6 MB, free: 20.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01683, allocations: 1.656 kB / 492.6 MB, free: 20.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.01693, allocations: 98.05 kB / 492.7 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.01728, allocations: 107.1 kB / 492.8 MB, free: 20.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.01808, allocations: 0.7924 MB / 493.6 MB, free: 19.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.15e-05/0.01815, allocations: 136.7 kB / 493.7 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.0183, allocations: 93.12 kB / 493.8 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.01839, allocations: 61.14 kB / 493.9 MB, free: 19.46 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0184, allocations: 0 / 493.9 MB, free: 19.46 MB / 426.7 MB Notification: Performance of Templates: time 0.008463/0.02686, allocations: 5.797 MB / 499.7 MB, free: 18.79 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4318539393134415]