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.0008859/0.0008859, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001906, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007053/0.0007053, allocations: 161.2 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000859/0.001564, allocations: 467.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9089/0.9089, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09702/1.006, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.5742/0.5742, allocations: 110.2 MB / 354.2 MB, free: 12.38 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05747/0.6316, allocations: 34.95 MB / 389.2 MB, free: 9.352 MB / 378.7 MB " [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.503e-06/1.503e-06, allocations: 0 / 390.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.416e-05, allocations: 2.312 kB / 390.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004799/0.004824, allocations: 3.033 MB / 393.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.008691, allocations: 2.326 MB / 395.8 MB, free: 2.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.008976, allocations: 11.94 kB / 395.8 MB, free: 2.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.009286, allocations: 103 kB / 395.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.009914, allocations: 270.4 kB / 396.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.01064, allocations: 371.2 kB / 396.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.0114, allocations: 0.6676 MB / 397.2 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.01177, allocations: 198.1 kB / 397.4 MB, free: 1.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006113/0.01238, allocations: 485.8 kB / 397.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.01318, allocations: 195.3 kB / 398.1 MB, free: 412 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.0133, allocations: 63.94 kB / 398.2 MB, free: 348 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.01361, allocations: 163.8 kB / 398.3 MB, free: 184 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.01373, allocations: 123.5 kB / 398.4 MB, free: 60 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.01389, allocations: 127.7 kB / 398.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.01448, allocations: 470 kB / 399 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-05/0.0145, allocations: 0 / 399 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0145, allocations: 0 / 399 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.01452, allocations: 0 / 399 MB, free: 15.47 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.001163/0.01568, allocations: 0.9036 MB / 399.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.01572, allocations: 8.031 kB / 399.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.01603, allocations: 166 kB / 400.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.01658, allocations: 386.4 kB / 400.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.01661, allocations: 25.38 kB / 400.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.01666, allocations: 40.38 kB / 400.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.01698, allocations: 404.1 kB / 400.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.017, allocations: 3.938 kB / 400.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01701, allocations: 16 kB / 401 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.01702, allocations: 8 kB / 401 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.01715, allocations: 108.5 kB / 401.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.01787, allocations: 0.7164 MB / 401.8 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.01804, allocations: 153.1 kB / 401.9 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.01809, allocations: 46.17 kB / 402 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.01812, allocations: 12.22 kB / 402 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.01814, allocations: 46.72 kB / 402 MB, free: 12.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.01814, allocations: 0 / 402 MB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002289/0.01837, allocations: 180.3 kB / 402.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.01841, allocations: 97.05 kB / 402.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.0187, allocations: 436.8 kB / 402.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.01871, allocations: 33.7 kB / 402.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.0188, allocations: 209.7 kB / 403 MB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.01885, allocations: 111 kB / 403.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.0189, allocations: 57.94 kB / 403.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.01899, allocations: 366.7 kB / 403.5 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.01904, allocations: 41.94 kB / 403.5 MB, free: 10.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.01913, allocations: 201.6 kB / 403.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.01923, allocations: 122.3 kB / 403.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01923, allocations: 0 / 403.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001446/0.01938, allocations: 153.5 kB / 404 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01939, allocations: 8 kB / 404 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01939, allocations: 0 / 404 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.0194, allocations: 4 kB / 404 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.01955, allocations: 59.84 kB / 404.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.01955, allocations: 4 kB / 404.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.01962, allocations: 23.84 kB / 404.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01963, allocations: 8.062 kB / 404.1 MB, free: 10.08 MB / 394.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.0001336/0.01976, allocations: 136.6 kB / 404.2 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.01981, allocations: 39.95 kB / 404.3 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.02003, allocations: 206.6 kB / 404.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02003, allocations: 4 kB / 404.5 MB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02003, allocations: 3.938 kB / 404.5 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.02004, allocations: 3.984 kB / 404.5 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.02028, allocations: 265.4 kB / 404.7 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02028, allocations: 0 / 404.7 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.0204, allocations: 63.91 kB / 404.8 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.02044, allocations: 47.59 kB / 404.9 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02045, allocations: 4 kB / 404.9 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.02046, allocations: 4.125 kB / 404.9 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.02046, allocations: 8 kB / 404.9 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02046, allocations: 3.938 kB / 404.9 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.02097, allocations: 380.7 kB / 405.2 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.02101, allocations: 12 kB / 405.3 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.02109, allocations: 8 kB / 405.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.02114, allocations: 27.89 kB / 405.3 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.02115, allocations: 15.91 kB / 405.3 MB, free: 8.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.02129, allocations: 207.2 kB / 405.5 MB, free: 8.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02129, allocations: 0 / 405.5 MB, free: 8.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.02154, allocations: 119.6 kB / 405.6 MB, free: 8.5 MB / 394.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.001103/0.02264, allocations: 0.6274 MB / 406.3 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.02279, allocations: 117.4 kB / 406.4 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.0228, allocations: 8 kB / 406.4 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.02287, allocations: 76.67 kB / 406.5 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.02317, allocations: 142.8 kB / 406.6 MB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.02411, allocations: 0.7981 MB / 407.4 MB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.288e-05/0.02419, allocations: 126.3 kB / 407.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.02433, allocations: 79.3 kB / 407.6 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.0245, allocations: 147.3 kB / 407.7 MB, free: 6.363 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0245, allocations: 0 / 407.7 MB, free: 6.363 MB / 394.7 MB Notification: Performance of Templates: time 0.007872/0.03238, allocations: 6.084 MB / 413.8 MB, free: 272 kB / 394.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.2484011268243194]