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.001676/0.001676, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002206/0.002206, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.793 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.9343/0.9343, allocations: 145 MB / 457.4 MB, free: 15.27 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="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: 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.002064/0.002064, allocations: 66.12 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005033/0.1941, allocations: 2.871 MB / 0.7217 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1982, allocations: 2.21 MB / 0.7238 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.1985, allocations: 11.94 kB / 0.7239 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.1989, allocations: 95.06 kB / 0.7239 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006344/0.1995, allocations: 258.7 kB / 0.7242 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.2003, allocations: 380.5 kB / 0.7246 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.201, allocations: 0.6871 MB / 0.7252 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.2014, allocations: 180.2 kB / 0.7254 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.2017, allocations: 250.9 kB / 0.7256 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.2021, allocations: 258.6 kB / 0.7259 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2022, allocations: 68 kB / 0.7259 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.2026, allocations: 151.9 kB / 0.7261 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.2028, allocations: 167.4 kB / 0.7263 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.203, allocations: 218.7 kB / 0.7265 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.2039, allocations: 0.8092 MB / 0.7273 GB, free: 6.207 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.204, allocations: 4 kB / 0.7273 GB, free: 6.203 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.204, allocations: 4 kB / 0.7273 GB, free: 6.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.204, allocations: 0 / 0.7273 GB, free: 6.199 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.001408/0.2054, allocations: 0.8547 MB / 0.7281 GB, free: 5.309 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2054, allocations: 8.031 kB / 0.7281 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.842e-05/0.2055, allocations: 70.72 kB / 0.7282 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.2058, allocations: 84.45 kB / 0.7283 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.2065, allocations: 442.4 kB / 0.7287 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.2065, allocations: 33.38 kB / 0.7287 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.2066, allocations: 39.94 kB / 0.7287 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.2073, allocations: 0.5153 MB / 0.7292 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2074, allocations: 0 / 0.7292 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2074, allocations: 19.94 kB / 0.7293 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2074, allocations: 8 kB / 0.7293 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.208, allocations: 314.4 kB / 0.7296 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.2097, allocations: 1.091 MB / 0.7306 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.2103, allocations: 323.6 kB / 0.7309 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2105, allocations: 106.2 kB / 0.731 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.2106, allocations: 12.23 kB / 0.7311 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.2106, allocations: 42.78 kB / 0.7311 GB, free: 2.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.2106, allocations: 0 / 0.7311 GB, free: 2.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008312/0.2114, allocations: 395.3 kB / 0.7315 GB, free: 1.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.2116, allocations: 183.9 kB / 0.7317 GB, free: 1.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.2124, allocations: 0.6161 MB / 0.7323 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.2125, allocations: 29.7 kB / 0.7323 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.2127, allocations: 284.6 kB / 0.7326 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.2128, allocations: 103.1 kB / 0.7327 GB, free: 416 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.2129, allocations: 65.97 kB / 0.7327 GB, free: 340 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2131, allocations: 362.8 kB / 0.7331 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2133, allocations: 105.7 kB / 0.7332 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.2136, allocations: 266.6 kB / 0.7334 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.214, allocations: 232.5 kB / 0.7336 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.214, allocations: 7.938 kB / 0.7336 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005884/0.2146, allocations: 321.2 kB / 0.734 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2146, allocations: 8 kB / 0.734 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2146, allocations: 0 / 0.734 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.2147, allocations: 0 / 0.734 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2149, allocations: 59.91 kB / 0.734 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2149, allocations: 4 kB / 0.734 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2151, allocations: 39.83 kB / 0.7341 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.2151, allocations: 8 kB / 0.7341 GB, free: 14.87 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.0004502/0.2156, allocations: 217.6 kB / 0.7343 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.2157, allocations: 51.67 kB / 0.7343 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.2164, allocations: 358.6 kB / 0.7347 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2164, allocations: 4 kB / 0.7347 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2164, allocations: 0 / 0.7347 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2164, allocations: 4 kB / 0.7347 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.2171, allocations: 448.2 kB / 0.7351 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2171, allocations: 4 kB / 0.7351 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.2173, allocations: 51.91 kB / 0.7352 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2173, allocations: 4 kB / 0.7352 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2173, allocations: 8 kB / 0.7352 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2173, allocations: 0 / 0.7352 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2173, allocations: 0 / 0.7352 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.2183, allocations: 0.6315 MB / 0.7358 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2184, allocations: 71.55 kB / 0.7358 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.2185, allocations: 20.12 kB / 0.7359 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.2187, allocations: 19.98 kB / 0.7359 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.2188, allocations: 27.95 kB / 0.7359 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2188, allocations: 8 kB / 0.7359 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005886/0.2194, allocations: 450.8 kB / 0.7364 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2194, allocations: 0 / 0.7364 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004587/0.2198, allocations: 115.7 kB / 0.7365 GB, free: 12.34 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.002752/0.2226, allocations: 1.548 MB / 0.738 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.2231, allocations: 239.8 kB / 0.7382 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2231, allocations: 0 / 0.7382 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.2233, allocations: 139.9 kB / 0.7383 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.2239, allocations: 74.16 kB / 0.7384 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.2294, allocations: 4.034 MB / 0.7423 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.2297, allocations: 271.1 kB / 0.7426 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002955/0.23, allocations: 103.5 kB / 0.7427 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.2304, allocations: 207.3 kB / 0.7429 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.2304, allocations: 0 / 0.7429 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/0.6289, allocations: 11.41 MB / 0.754 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.26, allocations: 8.297 kB / 0.7541 GB, free: 29.38 MB / 0.5606 GB " [Timeout remaining time 648] (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: 18.07963913399726] Failed to read output from testmodel.py, exit status != 0: 12.469055138994008 12.48885522 12.281416803 Calling exit ...