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.0008409/0.0008409, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.0008441/0.0008441, allocations: 162 kB / 22.56 MB, free: 1.965 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 0.8591/0.8591, allocations: 177.2 MB / 202.9 MB, free: 5.711 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.5156/0.5156, allocations: 110.2 MB / 369.6 MB, free: 12.6 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: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5474 GB, free: 8.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.779e-05, allocations: 2.281 kB / 0.5474 GB, free: 8.73 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002885/0.002903, allocations: 2.882 MB / 0.5502 GB, free: 5.832 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.00506, allocations: 2.209 MB / 0.5524 GB, free: 3.613 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.005226, allocations: 7.938 kB / 0.5524 GB, free: 3.605 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.0055, allocations: 98.98 kB / 0.5525 GB, free: 3.508 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.005942, allocations: 270.5 kB / 0.5528 GB, free: 3.242 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.006354, allocations: 379.2 kB / 0.5531 GB, free: 2.871 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.006796, allocations: 0.6947 MB / 0.5538 GB, free: 2.176 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.007037, allocations: 180.2 kB / 0.554 GB, free: 1.992 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.007255, allocations: 355.1 kB / 0.5543 GB, free: 1.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.007469, allocations: 211.3 kB / 0.5545 GB, free: 1.438 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.007523, allocations: 64 kB / 0.5546 GB, free: 1.375 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.007696, allocations: 159.8 kB / 0.5547 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.007802, allocations: 175.3 kB / 0.5549 GB, free: 1.047 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.007904, allocations: 167.5 kB / 0.5551 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.008452, allocations: 0.8099 MB / 0.5558 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.008454, allocations: 0 / 0.5558 GB, free: 72 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008455, allocations: 0 / 0.5558 GB, free: 72 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.008461, allocations: 0 / 0.5558 GB, free: 72 kB / 474.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.0008584/0.00932, allocations: 0.8431 MB / 0.5567 GB, free: 15.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.009356, allocations: 16.03 kB / 0.5567 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.00941, allocations: 78.7 kB / 0.5568 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.009577, allocations: 80.45 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.01, allocations: 461.6 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.01003, allocations: 29.38 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.01006, allocations: 36.38 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.01052, allocations: 0.5118 MB / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.01053, allocations: 0 / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.01055, allocations: 16 kB / 0.5579 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.01056, allocations: 12 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.01089, allocations: 306.4 kB / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01196, allocations: 1.095 MB / 0.5592 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.0123, allocations: 321.9 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.01241, allocations: 106.3 kB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.01244, allocations: 8.219 kB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.01246, allocations: 46.73 kB / 0.5597 GB, free: 11.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.01246, allocations: 0 / 0.5597 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004921/0.01295, allocations: 406.8 kB / 0.5601 GB, free: 11.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.01301, allocations: 187.9 kB / 0.5603 GB, free: 11.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.01352, allocations: 0.62 MB / 0.5609 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.01354, allocations: 33.7 kB / 0.5609 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01368, allocations: 276.6 kB / 0.5612 GB, free: 10.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.01373, allocations: 111 kB / 0.5613 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.01379, allocations: 65.91 kB / 0.5613 GB, free: 10.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.01389, allocations: 362.8 kB / 0.5617 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.01401, allocations: 105.7 kB / 0.5618 GB, free: 9.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.01417, allocations: 263.4 kB / 0.562 GB, free: 9.414 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.0144, allocations: 224 kB / 0.5622 GB, free: 9.184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0144, allocations: 0 / 0.5622 GB, free: 9.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003212/0.01472, allocations: 330.7 kB / 0.5626 GB, free: 8.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01473, allocations: 4 kB / 0.5626 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01474, allocations: 0 / 0.5626 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.01475, allocations: 8.062 kB / 0.5626 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01488, allocations: 55.91 kB / 0.5626 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.01488, allocations: 4 kB / 0.5626 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.01498, allocations: 39.7 kB / 0.5627 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01499, allocations: 8 kB / 0.5627 GB, free: 8.738 MB / 490.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.0001973/0.01519, allocations: 201.8 kB / 0.5629 GB, free: 8.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.01525, allocations: 67.5 kB / 0.5629 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.01563, allocations: 351.9 kB / 0.5633 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01564, allocations: 4 kB / 0.5633 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01564, allocations: 384 / 0.5633 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01565, allocations: 3.984 kB / 0.5633 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01601, allocations: 440.4 kB / 0.5637 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01601, allocations: 4 kB / 0.5637 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.01613, allocations: 55.91 kB / 0.5637 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01613, allocations: 3.938 kB / 0.5637 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01615, allocations: 8 kB / 0.5638 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01615, allocations: 0 / 0.5638 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01615, allocations: 4 kB / 0.5638 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.01667, allocations: 0.6277 MB / 0.5644 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.01673, allocations: 71.48 kB / 0.5644 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.01676, allocations: 8 kB / 0.5644 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01687, allocations: 19.98 kB / 0.5645 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.01693, allocations: 27.95 kB / 0.5645 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01694, allocations: 8 kB / 0.5645 GB, free: 6.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.01729, allocations: 454.8 kB / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01729, allocations: 0 / 0.5649 GB, free: 6.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.01757, allocations: 115.6 kB / 0.565 GB, free: 6.234 MB / 490.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.001305/0.01888, allocations: 1.559 MB / 0.5666 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01917, allocations: 231.8 kB / 0.5668 GB, free: 4.613 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01917, allocations: 4.125 kB / 0.5668 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.01931, allocations: 139.8 kB / 0.5669 GB, free: 4.473 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.01967, allocations: 86.59 kB / 0.567 GB, free: 4.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.02291, allocations: 4.034 MB / 0.5709 GB, free: 256 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.02308, allocations: 267.2 kB / 0.5712 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.02325, allocations: 91.62 kB / 0.5713 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.02345, allocations: 212.4 kB / 0.5715 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/0.02345, allocations: 7.938 kB / 0.5715 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.05015, allocations: 11.59 MB / 0.5828 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.813, allocations: 3.25 kB / 0.5828 GB, free: 4.188 MB / 0.4948 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.225693478249013] Failed to read output from testmodel.py, exit status != 0: 6.941043535247445 6.94982776 6.939746187 Calling exit ...