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.001554/0.001554, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001906/0.001906, allocations: 161.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 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.94/0.94, allocations: 110.3 MB / 369.4 MB, free: 1.152 MB / 334.1 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.533e-06/1.533e-06, allocations: 0 / 0.5477 GB, free: 9.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.384e-05, allocations: 6.219 kB / 0.5477 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005184/0.005218, allocations: 2.883 MB / 0.5505 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004389/0.009607, allocations: 2.209 MB / 0.5527 GB, free: 4.762 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.009971, allocations: 11.94 kB / 0.5527 GB, free: 4.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.01039, allocations: 94.98 kB / 0.5528 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007596/0.01115, allocations: 278.5 kB / 0.5531 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.01197, allocations: 373 kB / 0.5534 GB, free: 4.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.01281, allocations: 0.6832 MB / 0.5541 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.01323, allocations: 184.2 kB / 0.5543 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.01369, allocations: 355.1 kB / 0.5546 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.01417, allocations: 211.2 kB / 0.5548 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01428, allocations: 64 kB / 0.5549 GB, free: 2.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.01462, allocations: 159.8 kB / 0.555 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.01482, allocations: 171.3 kB / 0.5552 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.01504, allocations: 171.5 kB / 0.5553 GB, free: 2.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.01612, allocations: 0.8061 MB / 0.5561 GB, free: 1.234 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.01612, allocations: 3.938 kB / 0.5561 GB, free: 1.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01612, allocations: 0 / 0.5561 GB, free: 1.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.01613, allocations: 0 / 0.5561 GB, free: 1.23 MB / 462.1 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.001474/0.01761, allocations: 0.8469 MB / 0.557 GB, free: 360 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.01765, allocations: 12.03 kB / 0.557 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.01799, allocations: 80.45 kB / 0.557 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.01874, allocations: 446.8 kB / 0.5575 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.01878, allocations: 29.38 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.01884, allocations: 32.38 kB / 0.5575 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.01969, allocations: 0.5225 MB / 0.558 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.0197, allocations: 0 / 0.558 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.01974, allocations: 16 kB / 0.5581 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01975, allocations: 8 kB / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.02034, allocations: 310.4 kB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.02217, allocations: 1.005 MB / 0.5593 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.02281, allocations: 326.6 kB / 0.5597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.02302, allocations: 106.2 kB / 0.5598 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.848e-05/0.02308, allocations: 12.16 kB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.02314, allocations: 46.83 kB / 0.5598 GB, free: 13.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 5.01e-06/0.02314, allocations: 4 kB / 0.5598 GB, free: 13.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009447/0.02408, allocations: 393.7 kB / 0.5602 GB, free: 12.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.02421, allocations: 191.9 kB / 0.5604 GB, free: 12.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.02511, allocations: 0.5762 MB / 0.5609 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.02515, allocations: 33.7 kB / 0.561 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.02542, allocations: 284.4 kB / 0.5612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.02554, allocations: 115 kB / 0.5614 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02565, allocations: 57.97 kB / 0.5614 GB, free: 11.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.02587, allocations: 366.7 kB / 0.5618 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.02608, allocations: 101.8 kB / 0.5619 GB, free: 11.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.02641, allocations: 262.8 kB / 0.5621 GB, free: 10.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.02684, allocations: 231.8 kB / 0.5623 GB, free: 10.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02684, allocations: 0 / 0.5623 GB, free: 10.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006327/0.02747, allocations: 321.2 kB / 0.5626 GB, free: 10.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.0275, allocations: 7.938 kB / 0.5626 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.0275, allocations: 0 / 0.5626 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.02752, allocations: 8.062 kB / 0.5626 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.02777, allocations: 55.91 kB / 0.5627 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.02778, allocations: 4 kB / 0.5627 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.02797, allocations: 31.83 kB / 0.5627 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.02799, allocations: 11.98 kB / 0.5627 GB, free: 10.12 MB / 478.1 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.0004035/0.0284, allocations: 212.4 kB / 0.5629 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.02854, allocations: 55.61 kB / 0.563 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.02926, allocations: 354.6 kB / 0.5633 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.02927, allocations: 4 kB / 0.5633 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.02927, allocations: 0 / 0.5633 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.02928, allocations: 7.922 kB / 0.5633 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.02989, allocations: 389 kB / 0.5637 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02989, allocations: 0 / 0.5637 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.03013, allocations: 55.91 kB / 0.5638 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03014, allocations: 0 / 0.5638 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.03016, allocations: 8 kB / 0.5638 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.03016, allocations: 3.938 kB / 0.5638 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03017, allocations: 4 kB / 0.5638 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.03113, allocations: 0.6236 MB / 0.5644 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.03123, allocations: 59.61 kB / 0.5645 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.0313, allocations: 7.984 kB / 0.5645 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.03154, allocations: 20.11 kB / 0.5645 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.03166, allocations: 23.95 kB / 0.5645 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.03169, allocations: 19.94 kB / 0.5645 GB, free: 8.246 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007339/0.03242, allocations: 426.8 kB / 0.5649 GB, free: 7.832 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03242, allocations: 0 / 0.5649 GB, free: 7.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.033, allocations: 119.6 kB / 0.565 GB, free: 7.715 MB / 478.1 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.001812/0.03481, allocations: 496.3 kB / 0.5655 GB, free: 7.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.03538, allocations: 235.8 kB / 0.5657 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03538, allocations: 0 / 0.5657 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.03564, allocations: 135.9 kB / 0.5659 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.03628, allocations: 94.02 kB / 0.566 GB, free: 6.969 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.03819, allocations: 0.8982 MB / 0.5668 GB, free: 6.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.03855, allocations: 267.2 kB / 0.5671 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.03886, allocations: 87.22 kB / 0.5672 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.03904, allocations: 60.41 kB / 0.5672 GB, free: 5.602 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.03904, allocations: 3.938 kB / 0.5672 GB, free: 5.598 MB / 478.1 MB Notification: Performance of Templates: time 0.01372/0.05276, allocations: 5.745 MB / 0.5728 GB, free: 15.92 MB / 494.1 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.224004380404949] Failed to read output from testmodel.py, exit status != 0: 0.06264511123299599 0.079973551 0.060345126000000006 Calling exit ...