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.001519/0.001519, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002052/0.002052, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.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.9183/0.9183, allocations: 145 MB / 458.2 MB, free: 15.52 MB / 366.1 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: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 66.83 kB / 0.6339 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2188, allocations: 87.89 MB / 0.7197 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005737/0.2245, allocations: 3.127 MB / 0.7228 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004103/0.2286, allocations: 2.28 MB / 0.725 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.229, allocations: 11.94 kB / 0.725 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2295, allocations: 103 kB / 0.7251 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.2303, allocations: 250.7 kB / 0.7254 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.2313, allocations: 384.6 kB / 0.7257 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.2323, allocations: 0.6716 MB / 0.7264 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.2328, allocations: 192.2 kB / 0.7266 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.2331, allocations: 258.9 kB / 0.7268 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.2337, allocations: 294.6 kB / 0.7271 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2339, allocations: 67.94 kB / 0.7272 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2342, allocations: 159.9 kB / 0.7273 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.2344, allocations: 171.4 kB / 0.7275 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.2348, allocations: 286.2 kB / 0.7277 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.2358, allocations: 0.8015 MB / 0.7285 GB, free: 6.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2358, allocations: 0 / 0.7285 GB, free: 6.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2358, allocations: 4 kB / 0.7285 GB, free: 6.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.2359, allocations: 0 / 0.7285 GB, free: 6.387 MB / 0.545 GB 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.001477/0.2373, allocations: 0.8508 MB / 0.7294 GB, free: 5.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2374, allocations: 12.03 kB / 0.7294 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.751e-05/0.2374, allocations: 9.188 kB / 0.7294 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.166e-05/0.2375, allocations: 74.72 kB / 0.7295 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.2379, allocations: 92.39 kB / 0.7295 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.2386, allocations: 442.3 kB / 0.73 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.2386, allocations: 33.12 kB / 0.73 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.2387, allocations: 36 kB / 0.73 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.2394, allocations: 416.9 kB / 0.7304 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2394, allocations: 4 kB / 0.7304 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.2394, allocations: 19.98 kB / 0.7304 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2394, allocations: 11.94 kB / 0.7305 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.24, allocations: 306.4 kB / 0.7308 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2419, allocations: 1.204 MB / 0.7319 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.2425, allocations: 319.7 kB / 0.7322 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2427, allocations: 102.2 kB / 0.7323 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.2427, allocations: 12.2 kB / 0.7323 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.2428, allocations: 42.8 kB / 0.7324 GB, free: 2.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.2428, allocations: 96 / 0.7324 GB, free: 2.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.000857/0.2436, allocations: 399.3 kB / 0.7328 GB, free: 1.871 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.2438, allocations: 187.9 kB / 0.7329 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.2446, allocations: 0.6161 MB / 0.7335 GB, free: 1.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2447, allocations: 33.7 kB / 0.7336 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.2449, allocations: 272.6 kB / 0.7338 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.245, allocations: 123 kB / 0.734 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2451, allocations: 61.98 kB / 0.734 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2453, allocations: 362.8 kB / 0.7344 GB, free: 160 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2455, allocations: 105.7 kB / 0.7345 GB, free: 52 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.2457, allocations: 159.9 kB / 0.7346 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.2461, allocations: 236.1 kB / 0.7348 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2461, allocations: 0 / 0.7348 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005854/0.2467, allocations: 325.2 kB / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2467, allocations: 4 kB / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2467, allocations: 48 / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2468, allocations: 12.05 kB / 0.7352 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.247, allocations: 51.91 kB / 0.7352 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.247, allocations: 8.25 kB / 0.7352 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2472, allocations: 35.83 kB / 0.7353 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.2472, allocations: 16 kB / 0.7353 GB, free: 15.18 MB / 0.5606 GB 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.0003821/0.2476, allocations: 217.5 kB / 0.7355 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2477, allocations: 55.67 kB / 0.7355 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.2484, allocations: 346.8 kB / 0.7359 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2484, allocations: 7.938 kB / 0.7359 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2484, allocations: 0 / 0.7359 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2484, allocations: 7.922 kB / 0.7359 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.2491, allocations: 0.5196 MB / 0.7364 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2491, allocations: 0 / 0.7364 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.2493, allocations: 51.97 kB / 0.7364 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2493, allocations: 0 / 0.7364 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2494, allocations: 11.94 kB / 0.7364 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2494, allocations: 4 kB / 0.7364 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2494, allocations: 4 kB / 0.7365 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.2503, allocations: 0.6198 MB / 0.7371 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2504, allocations: 67.58 kB / 0.7371 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.2504, allocations: 8 kB / 0.7371 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2507, allocations: 20.05 kB / 0.7371 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.2508, allocations: 27.94 kB / 0.7372 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2508, allocations: 12 kB / 0.7372 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005942/0.2514, allocations: 446.8 kB / 0.7376 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2514, allocations: 0 / 0.7376 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004819/0.2518, allocations: 119.6 kB / 0.7377 GB, free: 12.59 MB / 0.5606 GB 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.002668/0.2545, allocations: 1.516 MB / 0.7392 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.255, allocations: 243.9 kB / 0.7394 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.255, allocations: 0 / 0.7394 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2553, allocations: 131.8 kB / 0.7396 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.2559, allocations: 86.66 kB / 0.7396 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.2618, allocations: 4.042 MB / 0.7436 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.2623, allocations: 0.8669 MB / 0.7444 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.2627, allocations: 87.38 kB / 0.7445 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.263, allocations: 219.3 kB / 0.7447 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.263, allocations: 0 / 0.7447 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3812/0.6443, allocations: 10.86 MB / 0.7553 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.73, allocations: 8.031 kB / 0.7554 GB, free: 29.82 MB / 0.5606 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=600 --timeout=50 --tolerance=1e-06 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: 17.271809939993545] Failed to read output from testmodel.py, exit status != 0: 12.980653395003174 13.003071974 12.762934547 Calling exit ...