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.0008681/0.0008681, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001325/0.001325, allocations: 177 kB / 24.09 MB, free: 416 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 0.9233/0.9233, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.5572/0.5572, allocations: 110.2 MB / 371.3 MB, free: 12.4 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.182e-06/1.182e-06, allocations: 0 / 475.6 MB, free: 14.99 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.257e-05, allocations: 6.297 kB / 475.6 MB, free: 14.99 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002529/0.002541, allocations: 2.966 MB / 478.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004302, allocations: 2.275 MB / 480.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.004477, allocations: 9.125 kB / 480.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.004715, allocations: 95.03 kB / 480.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.005124, allocations: 275.8 kB / 481.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.005508, allocations: 375.4 kB / 481.6 MB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.005893, allocations: 0.6757 MB / 482.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.006111, allocations: 186.5 kB / 482.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.006359, allocations: 375.9 kB / 482.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006526, allocations: 207.5 kB / 483 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.006585, allocations: 60.97 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.00676, allocations: 157 kB / 483.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.006839, allocations: 161.3 kB / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.006919, allocations: 164 kB / 483.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.007285, allocations: 0.4927 MB / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.007287, allocations: 0 / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007288, allocations: 1.5 kB / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007292, allocations: 1.625 kB / 484 MB, free: 9.719 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.0006341/0.007926, allocations: 0.9331 MB / 485 MB, free: 8.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.007956, allocations: 9.031 kB / 485 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.008134, allocations: 107.9 kB / 485.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.008468, allocations: 475.5 kB / 485.5 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.008492, allocations: 30.47 kB / 485.6 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.008528, allocations: 38.38 kB / 485.6 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.008803, allocations: 407.9 kB / 486 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.008813, allocations: 3.938 kB / 486 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.008832, allocations: 19.3 kB / 486 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.00884, allocations: 10.94 kB / 486 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.008976, allocations: 124.6 kB / 486.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.009796, allocations: 0.9691 MB / 487.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.009982, allocations: 185.7 kB / 487.3 MB, free: 23.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.01003, allocations: 52.7 kB / 487.4 MB, free: 23.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.01007, allocations: 25.22 kB / 487.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.01009, allocations: 36.84 kB / 487.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.01009, allocations: 0 / 487.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003045/0.01039, allocations: 246.3 kB / 487.7 MB, free: 23.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.01042, allocations: 192.7 kB / 487.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.01076, allocations: 491.2 kB / 488.3 MB, free: 22.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.01078, allocations: 31.08 kB / 488.4 MB, free: 22.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01091, allocations: 335.7 kB / 488.7 MB, free: 22.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.01095, allocations: 114.4 kB / 488.8 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.01101, allocations: 68.31 kB / 488.9 MB, free: 22.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01115, allocations: 0.5409 MB / 489.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.01121, allocations: 46.25 kB / 489.4 MB, free: 21.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.0113, allocations: 224.1 kB / 489.7 MB, free: 21.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.01141, allocations: 122.8 kB / 489.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01141, allocations: 0.8125 kB / 489.8 MB, free: 21.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000226/0.01164, allocations: 214 kB / 490 MB, free: 21.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01165, allocations: 8.562 kB / 490 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01166, allocations: 1.5 kB / 490 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.01167, allocations: 6.625 kB / 490 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.0118, allocations: 56.83 kB / 490.1 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01181, allocations: 2.75 kB / 490.1 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.01188, allocations: 24.12 kB / 490.1 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.0119, allocations: 13.59 kB / 490.1 MB, free: 21.41 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.0001416/0.01204, allocations: 183.2 kB / 490.3 MB, free: 21.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.01211, allocations: 63.33 kB / 490.3 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.01238, allocations: 243.3 kB / 490.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01238, allocations: 6.812 kB / 490.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01238, allocations: 2.062 kB / 490.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01238, allocations: 4.312 kB / 490.6 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.01268, allocations: 293.8 kB / 490.9 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01268, allocations: 0 / 490.9 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.0128, allocations: 54.72 kB / 490.9 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.0128, allocations: 2.781 kB / 490.9 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.01282, allocations: 7.031 kB / 490.9 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01282, allocations: 1 kB / 491 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01282, allocations: 2.25 kB / 491 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.01317, allocations: 0.5296 MB / 491.5 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.01322, allocations: 58.16 kB / 491.5 MB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.01325, allocations: 6.438 kB / 491.5 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01335, allocations: 11.94 kB / 491.6 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.0134, allocations: 35.53 kB / 491.6 MB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01341, allocations: 4.375 kB / 491.6 MB, free: 20.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.01364, allocations: 325.2 kB / 491.9 MB, free: 20.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01364, allocations: 0 / 491.9 MB, free: 20.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000302/0.01394, allocations: 119.8 kB / 492 MB, free: 20.25 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.0007911/0.01473, allocations: 458 kB / 492.5 MB, free: 20.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.01491, allocations: 134.9 kB / 492.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01491, allocations: 0 / 492.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.015, allocations: 89.3 kB / 492.7 MB, free: 20.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.01535, allocations: 108.4 kB / 492.8 MB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.01615, allocations: 0.7887 MB / 493.6 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.01623, allocations: 129.5 kB / 493.7 MB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.01638, allocations: 80.53 kB / 493.8 MB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.01665, allocations: 180.7 kB / 494 MB, free: 19.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01665, allocations: 0 / 494 MB, free: 19.31 MB / 426.7 MB Notification: Performance of Templates: time 0.008577/0.02523, allocations: 5.939 MB / 499.9 MB, free: 18.57 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.6566175892949104]