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.001576/0.001576, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001878/0.001878, allocations: 215.5 kB / 22.24 MB, free: 5.246 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.805 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.9202/0.9202, 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.002229/0.002229, allocations: 72.02 kB / 0.633 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2083, allocations: 87.89 MB / 0.7189 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005595/0.2139, allocations: 2.883 MB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.2183, allocations: 2.202 MB / 0.7238 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.2188, allocations: 11.94 kB / 0.7239 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.2194, allocations: 99.05 kB / 0.7239 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2205, allocations: 258.7 kB / 0.7242 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2216, allocations: 380.7 kB / 0.7246 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.2227, allocations: 0.6755 MB / 0.7252 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.2232, allocations: 188.2 kB / 0.7254 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.2235, allocations: 254.9 kB / 0.7256 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.224, allocations: 253.3 kB / 0.7259 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.2241, allocations: 64 kB / 0.7259 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.2244, allocations: 155.9 kB / 0.7261 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2246, allocations: 171.4 kB / 0.7263 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.2249, allocations: 218.7 kB / 0.7265 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2259, allocations: 0.817 MB / 0.7273 GB, free: 6.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2259, allocations: 0 / 0.7273 GB, free: 6.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2259, allocations: 0 / 0.7273 GB, free: 6.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2259, allocations: 4 kB / 0.7273 GB, free: 6.234 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.001633/0.2276, allocations: 0.8508 MB / 0.7281 GB, free: 5.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.2276, allocations: 12.03 kB / 0.7281 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.298e-05/0.2277, allocations: 74.72 kB / 0.7282 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.228, allocations: 80.45 kB / 0.7283 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.2288, allocations: 442.4 kB / 0.7287 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.2288, allocations: 33.38 kB / 0.7287 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.2289, allocations: 39.94 kB / 0.7287 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.2297, allocations: 0.5114 MB / 0.7292 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2297, allocations: 0 / 0.7292 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2297, allocations: 16 kB / 0.7293 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2298, allocations: 12 kB / 0.7293 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.2303, allocations: 306.4 kB / 0.7296 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2322, allocations: 1.087 MB / 0.7306 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.2328, allocations: 325.2 kB / 0.7309 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.233, allocations: 102.3 kB / 0.731 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.233, allocations: 12.22 kB / 0.731 GB, free: 2.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.2331, allocations: 38.8 kB / 0.7311 GB, free: 2.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.2331, allocations: 0 / 0.7311 GB, free: 2.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008426/0.2339, allocations: 395.3 kB / 0.7315 GB, free: 1.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.234, allocations: 183.9 kB / 0.7316 GB, free: 1.504 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.2349, allocations: 0.6238 MB / 0.7322 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.2349, allocations: 37.7 kB / 0.7323 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.2352, allocations: 280.6 kB / 0.7325 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2353, allocations: 111 kB / 0.7327 GB, free: 452 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2354, allocations: 57.98 kB / 0.7327 GB, free: 384 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.2356, allocations: 366.8 kB / 0.7331 GB, free: 8 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2358, allocations: 101.8 kB / 0.7332 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.2361, allocations: 266.9 kB / 0.7334 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.2365, allocations: 240.2 kB / 0.7336 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2365, allocations: 3.938 kB / 0.7336 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000618/0.2372, allocations: 321.2 kB / 0.734 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2372, allocations: 4 kB / 0.734 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2372, allocations: 0 / 0.734 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2372, allocations: 4 kB / 0.734 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2374, allocations: 55.91 kB / 0.734 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2374, allocations: 4 kB / 0.734 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2376, allocations: 39.83 kB / 0.7341 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.2376, allocations: 11.98 kB / 0.7341 GB, free: 14.91 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.0003616/0.238, allocations: 217.7 kB / 0.7343 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2381, allocations: 55.67 kB / 0.7343 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006885/0.2388, allocations: 354.6 kB / 0.7347 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2388, allocations: 4 kB / 0.7347 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2388, allocations: 0 / 0.7347 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2388, allocations: 3.984 kB / 0.7347 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.2395, allocations: 448.3 kB / 0.7351 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2395, allocations: 3.984 kB / 0.7351 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.2397, allocations: 51.92 kB / 0.7352 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2397, allocations: 0 / 0.7352 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.2398, allocations: 11.98 kB / 0.7352 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2398, allocations: 128 / 0.7352 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2398, allocations: 8 kB / 0.7352 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.2407, allocations: 0.6197 MB / 0.7358 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2408, allocations: 71.56 kB / 0.7358 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.2409, allocations: 8 kB / 0.7359 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2411, allocations: 24.05 kB / 0.7359 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.2412, allocations: 23.95 kB / 0.7359 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.2412, allocations: 19.92 kB / 0.7359 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00061/0.2418, allocations: 446.8 kB / 0.7363 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2418, allocations: 0 / 0.7363 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004732/0.2423, allocations: 115.6 kB / 0.7365 GB, free: 12.39 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.002803/0.2451, allocations: 1.551 MB / 0.738 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.2456, allocations: 239.8 kB / 0.7382 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2456, allocations: 0 / 0.7382 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.2458, allocations: 135.8 kB / 0.7383 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.2464, allocations: 92.62 kB / 0.7384 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.252, allocations: 4.03 MB / 0.7424 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2523, allocations: 267.1 kB / 0.7426 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.2526, allocations: 99.61 kB / 0.7427 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.253, allocations: 211.3 kB / 0.7429 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.253, allocations: 0 / 0.7429 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/0.6342, allocations: 11.41 MB / 0.754 GB, free: 29.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.01, allocations: 10.5 kB / 0.7541 GB, free: 29.35 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 & /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: 16.723163448739797] Failed to read output from testmodel.py, exit status != 0: 12.229831117205322 12.242779719 12.014144745 Calling exit ...