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.001454/0.001454, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001731/0.001731, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8 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.9533/0.9533, allocations: 145 MB / 457.4 MB, free: 15.48 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.002004/0.002004, allocations: 65.92 kB / 0.6331 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2015, allocations: 87.88 MB / 0.7189 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005327/0.2068, allocations: 3.138 MB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003955/0.2108, allocations: 2.268 MB / 0.7242 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.2111, allocations: 11.94 kB / 0.7242 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2115, allocations: 99.03 kB / 0.7243 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.2121, allocations: 250.7 kB / 0.7246 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008893/0.213, allocations: 390.8 kB / 0.7249 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.2139, allocations: 0.6755 MB / 0.7256 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.2143, allocations: 192.2 kB / 0.7258 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.2146, allocations: 254.9 kB / 0.726 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.2152, allocations: 298.5 kB / 0.7263 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2153, allocations: 68 kB / 0.7264 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.2156, allocations: 159.9 kB / 0.7265 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2158, allocations: 171.4 kB / 0.7267 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.2161, allocations: 294.2 kB / 0.727 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.217, allocations: 0.8014 MB / 0.7278 GB, free: 6.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.217, allocations: 0 / 0.7278 GB, free: 6.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2171, allocations: 0 / 0.7278 GB, free: 6.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2171, allocations: 0 / 0.7278 GB, free: 6.383 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.001388/0.2184, allocations: 0.8586 MB / 0.7286 GB, free: 5.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2185, allocations: 8.031 kB / 0.7286 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.517e-05/0.2186, allocations: 74.72 kB / 0.7287 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.2189, allocations: 80.45 kB / 0.7288 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.2196, allocations: 438.4 kB / 0.7292 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.2196, allocations: 33.38 kB / 0.7292 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.2197, allocations: 39.94 kB / 0.7292 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.2204, allocations: 420.9 kB / 0.7296 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2204, allocations: 0 / 0.7296 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.2204, allocations: 16 kB / 0.7297 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2204, allocations: 16 kB / 0.7297 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.221, allocations: 302.4 kB / 0.73 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2229, allocations: 1.208 MB / 0.7311 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.2235, allocations: 313.7 kB / 0.7314 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2237, allocations: 114.2 kB / 0.7316 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.2238, allocations: 16.2 kB / 0.7316 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2238, allocations: 34.8 kB / 0.7316 GB, free: 2.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.2238, allocations: 0 / 0.7316 GB, free: 2.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008831/0.2247, allocations: 403.3 kB / 0.732 GB, free: 1.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.2248, allocations: 183.9 kB / 0.7322 GB, free: 1.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.2257, allocations: 0.6161 MB / 0.7328 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2258, allocations: 33.7 kB / 0.7328 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.226, allocations: 280.6 kB / 0.7331 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2262, allocations: 111 kB / 0.7332 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2263, allocations: 61.97 kB / 0.7332 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2265, allocations: 366.8 kB / 0.7336 GB, free: 168 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2266, allocations: 105.7 kB / 0.7337 GB, free: 60 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.227, allocations: 163.8 kB / 0.7338 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2274, allocations: 224.2 kB / 0.734 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2274, allocations: 7.938 kB / 0.7341 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005611/0.2279, allocations: 329.1 kB / 0.7344 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.228, allocations: 4 kB / 0.7344 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.228, allocations: 4 kB / 0.7344 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.228, allocations: 0 / 0.7344 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2282, allocations: 55.97 kB / 0.7344 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2282, allocations: 7.938 kB / 0.7344 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.2284, allocations: 40.14 kB / 0.7345 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2284, allocations: 8 kB / 0.7345 GB, free: 15.19 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.0004185/0.2289, allocations: 217.6 kB / 0.7347 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.229, allocations: 55.67 kB / 0.7347 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.2297, allocations: 350.7 kB / 0.7351 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2297, allocations: 4 kB / 0.7351 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2297, allocations: 48 / 0.7351 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.2297, allocations: 7.969 kB / 0.7351 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.2304, allocations: 0.5196 MB / 0.7356 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2304, allocations: 0 / 0.7356 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.2306, allocations: 51.92 kB / 0.7356 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2306, allocations: 0 / 0.7356 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2307, allocations: 11.98 kB / 0.7357 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2307, allocations: 4 kB / 0.7357 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2307, allocations: 0 / 0.7357 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009579/0.2316, allocations: 0.6275 MB / 0.7363 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.2318, allocations: 67.58 kB / 0.7363 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.2318, allocations: 8 kB / 0.7363 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.232, allocations: 15.98 kB / 0.7364 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.2321, allocations: 32.02 kB / 0.7364 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.2322, allocations: 15.98 kB / 0.7364 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006236/0.2328, allocations: 446.8 kB / 0.7368 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2328, allocations: 0 / 0.7368 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004858/0.2333, allocations: 115.6 kB / 0.7369 GB, free: 12.6 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.00271/0.236, allocations: 1.515 MB / 0.7384 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.2365, allocations: 240.2 kB / 0.7387 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2365, allocations: 4.109 kB / 0.7387 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2367, allocations: 135.8 kB / 0.7388 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2374, allocations: 85.45 kB / 0.7389 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.2432, allocations: 4.042 MB / 0.7428 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.2438, allocations: 0.8708 MB / 0.7437 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000302/0.2441, allocations: 91.36 kB / 0.7438 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.2444, allocations: 211.3 kB / 0.744 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.2444, allocations: 0 / 0.744 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4602/0.7046, allocations: 10.83 MB / 0.7545 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.45, allocations: 8.922 kB / 0.7545 GB, free: 29.5 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 & 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.602626994001184] Failed to read output from testmodel.py, exit status != 0: 12.67861879600241 12.700625599 12.479542136 Calling exit ...