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.001852/0.001852, allocations: 87.67 kB / 20.24 MB, free: 4.184 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.002018/0.002018, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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 1.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9458/0.9458, allocations: 110.3 MB / 370.6 MB, free: 12.44 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.904e-06/1.904e-06, allocations: 6.344 kB / 474.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.232e-05, allocations: 6.109 kB / 474.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003507/0.003529, allocations: 2.988 MB / 477.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.006125, allocations: 2.246 MB / 479.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.006364, allocations: 10 kB / 479.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.006694, allocations: 100.5 kB / 479.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.007251, allocations: 271.8 kB / 480 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.007814, allocations: 379.7 kB / 480.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.008283, allocations: 0.6837 MB / 481.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.00855, allocations: 183.4 kB / 481.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.008827, allocations: 358 kB / 481.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.009196, allocations: 210.3 kB / 481.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.00928, allocations: 63.44 kB / 481.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.0095, allocations: 155.6 kB / 482 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.009623, allocations: 177.7 kB / 482.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.009771, allocations: 167 kB / 482.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.01044, allocations: 0.8128 MB / 483.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01044, allocations: 0 / 483.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01044, allocations: 0 / 483.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.01045, allocations: 0 / 483.2 MB, free: 9.965 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.001116/0.01157, allocations: 0.9942 MB / 484.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.0116, allocations: 9.281 kB / 484.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.01193, allocations: 111.1 kB / 484.3 MB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.0125, allocations: 450.8 kB / 484.7 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.01253, allocations: 28.59 kB / 484.7 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.01258, allocations: 44.39 kB / 484.8 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.01315, allocations: 0.5039 MB / 485.3 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.01317, allocations: 3.938 kB / 485.3 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.0132, allocations: 16.31 kB / 485.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.01321, allocations: 8.656 kB / 485.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.01365, allocations: 252.7 kB / 485.6 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01521, allocations: 1.333 MB / 486.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.01566, allocations: 293.4 kB / 487.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.01581, allocations: 104 kB / 487.3 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.01586, allocations: 11.03 kB / 487.3 MB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01588, allocations: 41.25 kB / 487.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.01588, allocations: 1.719 kB / 487.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006873/0.01657, allocations: 361.3 kB / 487.7 MB, free: 7.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.01662, allocations: 186.8 kB / 487.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.01748, allocations: 0.6917 MB / 488.6 MB, free: 22.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.0175, allocations: 32.64 kB / 488.6 MB, free: 22.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.01773, allocations: 373.9 kB / 489 MB, free: 22.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.01779, allocations: 122.8 kB / 489.1 MB, free: 22.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01789, allocations: 78.33 kB / 489.2 MB, free: 22.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.0182, allocations: 0.5756 MB / 489.7 MB, free: 21.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.01837, allocations: 99.42 kB / 489.8 MB, free: 21.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.01858, allocations: 273.7 kB / 490.1 MB, free: 21.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.01888, allocations: 209 kB / 490.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01888, allocations: 5.875 kB / 490.3 MB, free: 21.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004704/0.01935, allocations: 293.4 kB / 490.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01937, allocations: 5.219 kB / 490.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01938, allocations: 5.156 kB / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.01939, allocations: 2.531 kB / 490.6 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.01962, allocations: 52.34 kB / 490.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.01963, allocations: 6.188 kB / 490.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.01979, allocations: 29.17 kB / 490.7 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.01981, allocations: 11.84 kB / 490.7 MB, free: 20.93 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.0002744/0.02009, allocations: 223.6 kB / 490.9 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.02021, allocations: 65.64 kB / 491 MB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.02079, allocations: 329.4 kB / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.0208, allocations: 4.5 kB / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.0208, allocations: 0 / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.02081, allocations: 5.312 kB / 491.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.02141, allocations: 499.3 kB / 491.8 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02141, allocations: 1.062 kB / 491.8 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.02164, allocations: 53.53 kB / 491.9 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.02164, allocations: 3.344 kB / 491.9 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.02166, allocations: 6.688 kB / 491.9 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.02167, allocations: 6.062 kB / 491.9 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02167, allocations: 0.5 kB / 491.9 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.0225, allocations: 0.6731 MB / 492.5 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.02259, allocations: 49.02 kB / 492.6 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.02266, allocations: 10.44 kB / 492.6 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.02286, allocations: 19.19 kB / 492.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.02295, allocations: 29.19 kB / 492.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.02297, allocations: 13.84 kB / 492.7 MB, free: 19.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005308/0.0235, allocations: 463.3 kB / 493.1 MB, free: 19.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0235, allocations: 0 / 493.1 MB, free: 19.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.02395, allocations: 122.6 kB / 493.2 MB, free: 19.44 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.002803/0.02676, allocations: 486.5 kB / 493.7 MB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.02719, allocations: 224.5 kB / 493.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.0272, allocations: 1.344 kB / 493.9 MB, free: 19.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.02741, allocations: 136.8 kB / 494.1 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.02801, allocations: 115.1 kB / 494.2 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.02931, allocations: 0.8847 MB / 495.1 MB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.02956, allocations: 260.7 kB / 495.3 MB, free: 18.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.0298, allocations: 96.84 kB / 495.4 MB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.02995, allocations: 61.48 kB / 495.5 MB, free: 18.41 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02995, allocations: 1.312 kB / 495.5 MB, free: 18.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01164/0.04159, allocations: 5.792 MB / 0.4895 GB, free: 17.73 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: 5.907627806998789]