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.001245/0.001245, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001377/0.001377, allocations: 214.2 kB / 23.03 MB, free: 4.918 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.937/0.937, allocations: 145 MB / 458.2 MB, free: 15.29 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.002126/0.002126, allocations: 62.84 kB / 0.6338 GB, free: 6.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 87.9 MB / 0.7196 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004708/0.1943, allocations: 2.871 MB / 0.7225 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.1979, allocations: 2.202 MB / 0.7246 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.1982, allocations: 7.938 kB / 0.7246 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1986, allocations: 99.05 kB / 0.7247 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.1993, allocations: 266.7 kB / 0.725 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.2001, allocations: 388.7 kB / 0.7253 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.2009, allocations: 0.6677 MB / 0.726 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.2012, allocations: 192.2 kB / 0.7262 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.2015, allocations: 258.9 kB / 0.7264 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.2019, allocations: 281.4 kB / 0.7267 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.202, allocations: 64 kB / 0.7267 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.2023, allocations: 163.9 kB / 0.7269 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2025, allocations: 167.4 kB / 0.7271 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2027, allocations: 218.7 kB / 0.7273 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.2037, allocations: 0.8131 MB / 0.7281 GB, free: 6.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2037, allocations: 0 / 0.7281 GB, free: 6.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2037, allocations: 0 / 0.7281 GB, free: 6.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.2037, allocations: 0 / 0.7281 GB, free: 6.246 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.001386/0.2051, allocations: 0.8547 MB / 0.7289 GB, free: 5.355 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2051, allocations: 12.03 kB / 0.7289 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.704e-05/0.2051, allocations: 9.188 kB / 0.7289 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.2052, allocations: 78.7 kB / 0.729 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.2055, allocations: 80.47 kB / 0.7291 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.2062, allocations: 434.4 kB / 0.7295 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.2062, allocations: 33.12 kB / 0.7295 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.2063, allocations: 36 kB / 0.7295 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.2071, allocations: 0.5075 MB / 0.73 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2071, allocations: 7.938 kB / 0.73 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.2071, allocations: 19.98 kB / 0.7301 GB, free: 4.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2071, allocations: 12 kB / 0.7301 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.2077, allocations: 310.4 kB / 0.7304 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.2095, allocations: 1.095 MB / 0.7314 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.2102, allocations: 321.5 kB / 0.7318 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2104, allocations: 110.3 kB / 0.7319 GB, free: 2.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.2104, allocations: 8.219 kB / 0.7319 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.2105, allocations: 38.8 kB / 0.7319 GB, free: 2.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.2105, allocations: 3.938 kB / 0.7319 GB, free: 2.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009097/0.2114, allocations: 395.3 kB / 0.7323 GB, free: 1.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.2115, allocations: 183.9 kB / 0.7325 GB, free: 1.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.2124, allocations: 0.62 MB / 0.7331 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.2125, allocations: 33.7 kB / 0.7331 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.2127, allocations: 276.6 kB / 0.7334 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2128, allocations: 111 kB / 0.7335 GB, free: 452 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2129, allocations: 69.91 kB / 0.7335 GB, free: 372 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2131, allocations: 362.8 kB / 0.7339 GB, free: 0 / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.2134, allocations: 105.7 kB / 0.734 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.2137, allocations: 262.7 kB / 0.7342 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.214, allocations: 232.2 kB / 0.7344 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.214, allocations: 0 / 0.7344 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006066/0.2147, allocations: 329.2 kB / 0.7348 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2147, allocations: 4 kB / 0.7348 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2147, allocations: 320 / 0.7348 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2147, allocations: 4 kB / 0.7348 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.2149, allocations: 55.91 kB / 0.7348 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2149, allocations: 8 kB / 0.7348 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.2152, allocations: 35.77 kB / 0.7349 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2152, allocations: 11.98 kB / 0.7349 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.0004189/0.2156, allocations: 213.7 kB / 0.7351 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2158, allocations: 55.67 kB / 0.7351 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/0.2165, allocations: 350.7 kB / 0.7355 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2165, allocations: 4 kB / 0.7355 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2165, allocations: 0 / 0.7355 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2165, allocations: 11.95 kB / 0.7355 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.2172, allocations: 444.3 kB / 0.7359 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2172, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2174, allocations: 55.91 kB / 0.736 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2174, allocations: 0 / 0.736 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.2175, allocations: 12 kB / 0.736 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2175, allocations: 3.984 kB / 0.736 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2175, allocations: 4 kB / 0.736 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.2184, allocations: 0.6197 MB / 0.7366 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2185, allocations: 75.5 kB / 0.7367 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.2185, allocations: 8 kB / 0.7367 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2188, allocations: 19.98 kB / 0.7367 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.2188, allocations: 23.95 kB / 0.7367 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2189, allocations: 16.06 kB / 0.7367 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006062/0.2195, allocations: 450.8 kB / 0.7372 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2195, allocations: 3.938 kB / 0.7372 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004995/0.22, allocations: 111.7 kB / 0.7373 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.002752/0.2227, allocations: 1.554 MB / 0.7388 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005668/0.2233, allocations: 235.8 kB / 0.739 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2233, allocations: 4 kB / 0.739 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.2235, allocations: 131.8 kB / 0.7391 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.0006707/0.2242, allocations: 86.67 kB / 0.7392 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.2299, allocations: 4.026 MB / 0.7431 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2302, allocations: 267.1 kB / 0.7434 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.2305, allocations: 103.3 kB / 0.7435 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.2308, allocations: 203.3 kB / 0.7437 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.2308, allocations: 0 / 0.7437 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3665/0.5973, allocations: 11.06 MB / 0.7545 GB, free: 29.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.56, allocations: 6.75 kB / 0.7545 GB, free: 29.71 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.189009796013124] Failed to read output from testmodel.py, exit status != 0: 12.810909745050594 12.834601786 12.626572092 Calling exit ...