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.000953/0.000953, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001057/0.001057, allocations: 169 kB / 24.17 MB, free: 328 kB / 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 1.071/1.071, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.6753/0.6753, allocations: 110.3 MB / 371.3 MB, free: 12.35 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.653e-06/1.653e-06, allocations: 0 / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.509e-05, allocations: 2.312 kB / 422.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.007228/0.007253, allocations: 3.026 MB / 425.4 MB, free: 6.324 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.01314, allocations: 2.314 MB / 427.7 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.01333, allocations: 15.94 kB / 427.7 MB, free: 3.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.01354, allocations: 98.98 kB / 427.8 MB, free: 3.883 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.01701, allocations: 262.4 kB / 428.1 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.01758, allocations: 375.3 kB / 428.5 MB, free: 3.258 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.01816, allocations: 0.6793 MB / 429.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.01841, allocations: 194.1 kB / 429.3 MB, free: 2.383 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.01874, allocations: 375 kB / 429.7 MB, free: 2.016 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.01903, allocations: 195.3 kB / 429.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.0191, allocations: 68 kB / 429.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.0193, allocations: 159.8 kB / 430.1 MB, free: 1.602 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.01941, allocations: 167.4 kB / 430.3 MB, free: 1.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.01952, allocations: 155.5 kB / 430.4 MB, free: 1.285 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.023, allocations: 0.4941 MB / 430.9 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.023, allocations: 0 / 430.9 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02301, allocations: 0 / 430.9 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.02301, allocations: 4 kB / 430.9 MB, free: 0.7852 MB / 394.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.0008672/0.02388, allocations: 0.7978 MB / 431.7 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.421e-05/0.0239, allocations: 8.031 kB / 431.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.02414, allocations: 88.81 kB / 431.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.02455, allocations: 378.4 kB / 432.2 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.02458, allocations: 29.38 kB / 432.2 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.02462, allocations: 40.38 kB / 432.2 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.02495, allocations: 393 kB / 432.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.02496, allocations: 0 / 432.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.02498, allocations: 23.88 kB / 432.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.02499, allocations: 19.94 kB / 432.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.02516, allocations: 108.5 kB / 432.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.02911, allocations: 0.7165 MB / 433.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.02934, allocations: 161.1 kB / 433.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.02941, allocations: 46.17 kB / 433.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.02944, allocations: 8.234 kB / 433.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.02946, allocations: 38.8 kB / 433.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.02946, allocations: 0 / 433.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003016/0.02976, allocations: 187.6 kB / 433.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.02982, allocations: 183.9 kB / 434.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.03021, allocations: 436.9 kB / 434.5 MB, free: 12.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.03023, allocations: 33.64 kB / 434.6 MB, free: 12.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.03033, allocations: 217.6 kB / 434.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.0304, allocations: 107 kB / 434.9 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.03048, allocations: 65.94 kB / 434.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/0.03082, allocations: 366.6 kB / 435.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.03088, allocations: 41.73 kB / 435.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.03099, allocations: 189.5 kB / 435.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.03112, allocations: 123.3 kB / 435.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.03112, allocations: 0 / 435.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001935/0.03131, allocations: 161.5 kB / 435.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.03132, allocations: 4 kB / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.03133, allocations: 4 kB / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.03134, allocations: 0 / 435.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.032, allocations: 59.91 kB / 435.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.03201, allocations: 3.938 kB / 435.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.0321, allocations: 31.83 kB / 435.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.03211, allocations: 11.98 kB / 435.9 MB, free: 11.45 MB / 410.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.0001417/0.03226, allocations: 140.5 kB / 436.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.03233, allocations: 39.95 kB / 436.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.0326, allocations: 190.5 kB / 436.3 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.0326, allocations: 4 kB / 436.3 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.0326, allocations: 4 kB / 436.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.03261, allocations: 3.984 kB / 436.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.03294, allocations: 269.4 kB / 436.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.03294, allocations: 4 kB / 436.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.03308, allocations: 51.91 kB / 436.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.03309, allocations: 4 kB / 436.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.0331, allocations: 7.984 kB / 436.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.0331, allocations: 4 kB / 436.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.0331, allocations: 3.938 kB / 436.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.03341, allocations: 376.7 kB / 437 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.03347, allocations: 51.69 kB / 437 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.03351, allocations: 7.984 kB / 437.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.03364, allocations: 16.16 kB / 437.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.03369, allocations: 23.95 kB / 437.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.0337, allocations: 12 kB / 437.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.03391, allocations: 207.2 kB / 437.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03391, allocations: 0 / 437.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.03425, allocations: 119.6 kB / 437.4 MB, free: 9.891 MB / 410.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.001285/0.03554, allocations: 0.5621 MB / 438 MB, free: 9.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.03576, allocations: 125.1 kB / 438.1 MB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.03576, allocations: 7.938 kB / 438.1 MB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.03587, allocations: 85.14 kB / 438.2 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.03632, allocations: 109.6 kB / 438.3 MB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.0374, allocations: 0.7708 MB / 439.1 MB, free: 8.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.03751, allocations: 126.4 kB / 439.2 MB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.03773, allocations: 87.45 kB / 439.3 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.03799, allocations: 155.2 kB / 439.4 MB, free: 7.828 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.03799, allocations: 4 kB / 439.4 MB, free: 7.824 MB / 410.7 MB Notification: Performance of Templates: time 0.01015/0.04814, allocations: 5.991 MB / 445.4 MB, free: 1.832 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9958628099411726]