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.000893/0.000893, allocations: 82.64 kB / 21.47 MB, free: 3.027 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.0009112/0.0009112, allocations: 160.5 kB / 24.87 MB, free: 8.891 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.8953/0.8953, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.5582/0.5582, allocations: 110.3 MB / 372.1 MB, free: 12.33 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.663e-06/1.663e-06, allocations: 1.094 kB / 476.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.998e-05, allocations: 7 kB / 476.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003856/0.003876, allocations: 2.978 MB / 479.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.006764, allocations: 2.271 MB / 481.6 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.007066, allocations: 5.031 kB / 481.6 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.007392, allocations: 99.02 kB / 481.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006545/0.008047, allocations: 273.2 kB / 482 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.008728, allocations: 373.2 kB / 482.4 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.009365, allocations: 0.6779 MB / 483 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.00971, allocations: 186.7 kB / 483.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.01013, allocations: 375.7 kB / 483.6 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01041, allocations: 202.4 kB / 483.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.0105, allocations: 60.62 kB / 483.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.0108, allocations: 155.8 kB / 484 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.01093, allocations: 162.8 kB / 484.1 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.01108, allocations: 159.7 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.01172, allocations: 0.4958 MB / 484.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01172, allocations: 3.5 kB / 484.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01173, allocations: 0 / 484.8 MB, free: 9.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.01174, allocations: 0 / 484.8 MB, free: 9.793 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.0007603/0.0125, allocations: 0.9359 MB / 485.7 MB, free: 9.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.01253, allocations: 10.91 kB / 485.8 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.01274, allocations: 105.7 kB / 485.9 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.01312, allocations: 476.9 kB / 486.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.01315, allocations: 29.31 kB / 486.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.0132, allocations: 36.75 kB / 486.4 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.01351, allocations: 407.8 kB / 486.8 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01352, allocations: 5.438 kB / 486.8 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01355, allocations: 11.25 kB / 486.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.01356, allocations: 9.844 kB / 486.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.01371, allocations: 134.2 kB / 486.9 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009558/0.01466, allocations: 0.9683 MB / 487.9 MB, free: 23.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01486, allocations: 186.1 kB / 488.1 MB, free: 23.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.01491, allocations: 51.94 kB / 488.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.01494, allocations: 14.94 kB / 488.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.01495, allocations: 37.47 kB / 488.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.122e-06/0.01495, allocations: 1.781 kB / 488.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003064/0.01526, allocations: 248.8 kB / 488.4 MB, free: 23.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.01529, allocations: 188.3 kB / 488.6 MB, free: 23.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.01562, allocations: 489.2 kB / 489.1 MB, free: 22.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01564, allocations: 32.77 kB / 489.1 MB, free: 22.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01577, allocations: 338.1 kB / 489.5 MB, free: 22.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.01582, allocations: 118.5 kB / 489.6 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.01588, allocations: 63.17 kB / 489.6 MB, free: 22.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.016, allocations: 0.5408 MB / 490.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.01606, allocations: 50.27 kB / 490.2 MB, free: 21.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.01614, allocations: 219.4 kB / 490.4 MB, free: 21.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.01625, allocations: 129.4 kB / 490.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01626, allocations: 0 / 490.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002181/0.01647, allocations: 215.3 kB / 490.8 MB, free: 21.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01649, allocations: 7.594 kB / 490.8 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.01649, allocations: 1.438 kB / 490.8 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.0165, allocations: 6.594 kB / 490.8 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01663, allocations: 52.95 kB / 490.8 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01663, allocations: 1.438 kB / 490.8 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.01671, allocations: 27.44 kB / 490.9 MB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01672, allocations: 14.38 kB / 490.9 MB, free: 21.49 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.0001343/0.01686, allocations: 178.1 kB / 491.1 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.01693, allocations: 64.02 kB / 491.1 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.01719, allocations: 243.5 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01719, allocations: 6.969 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01719, allocations: 1.406 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.0172, allocations: 5.016 kB / 491.4 MB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.01747, allocations: 292.9 kB / 491.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01747, allocations: 1.5 kB / 491.7 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01758, allocations: 53.03 kB / 491.7 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.01759, allocations: 1.844 kB / 491.7 MB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.0176, allocations: 10.94 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.0176, allocations: 8.078 kB / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0176, allocations: 0 / 491.7 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.01796, allocations: 0.5268 MB / 492.3 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.018, allocations: 55.77 kB / 492.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.01804, allocations: 7.375 kB / 492.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.01814, allocations: 17.22 kB / 492.3 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.01818, allocations: 31.05 kB / 492.4 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01819, allocations: 6.781 kB / 492.4 MB, free: 20.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.01839, allocations: 324 kB / 492.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01839, allocations: 0 / 492.7 MB, free: 20.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.01868, allocations: 117.5 kB / 492.8 MB, free: 20.32 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.0008253/0.01951, allocations: 465.5 kB / 493.3 MB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.0197, allocations: 132.4 kB / 493.4 MB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.0197, allocations: 1.375 kB / 493.4 MB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.01978, allocations: 86.12 kB / 493.5 MB, free: 20.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.02013, allocations: 103.7 kB / 493.6 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.02088, allocations: 0.792 MB / 494.4 MB, free: 19.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.511e-05/0.02095, allocations: 127.7 kB / 494.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.02111, allocations: 85.28 kB / 494.6 MB, free: 19.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.0213, allocations: 178.8 kB / 494.8 MB, free: 19.38 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0213, allocations: 1.188 kB / 494.8 MB, free: 19.38 MB / 426.7 MB Notification: Performance of Templates: time 0.008469/0.02977, allocations: 6.034 MB / 0.4891 GB, free: 18.62 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.5299443718977273]