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.001593/0.001593, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001709/0.001709, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.9538/0.9538, allocations: 144.9 MB / 453.8 MB, free: 0.7305 MB / 350.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: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") [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.002092/0.002092, allocations: 66.02 kB / 0.6285 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1965, allocations: 87.83 MB / 0.7142 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005816/0.2023, allocations: 3.103 MB / 0.7173 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.2063, allocations: 2.185 MB / 0.7194 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.2067, allocations: 12 kB / 0.7194 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.2072, allocations: 103 kB / 0.7195 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006842/0.2078, allocations: 250.7 kB / 0.7197 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008861/0.2087, allocations: 376.9 kB / 0.7201 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008151/0.2095, allocations: 0.6677 MB / 0.7208 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.2099, allocations: 215.7 kB / 0.721 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.2102, allocations: 254.9 kB / 0.7212 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.2107, allocations: 290.6 kB / 0.7215 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.2108, allocations: 64 kB / 0.7215 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.2112, allocations: 167.9 kB / 0.7217 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2113, allocations: 167.4 kB / 0.7219 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.2116, allocations: 290.3 kB / 0.7221 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2126, allocations: 0.8015 MB / 0.7229 GB, free: 9.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2126, allocations: 0 / 0.7229 GB, free: 9.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2126, allocations: 3.938 kB / 0.7229 GB, free: 9.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.2126, allocations: 0 / 0.7229 GB, free: 9.445 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.001483/0.2141, allocations: 0.9184 MB / 0.7238 GB, free: 8.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2142, allocations: 12.03 kB / 0.7238 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.2145, allocations: 80.45 kB / 0.7239 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2152, allocations: 0.4885 MB / 0.7244 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.2153, allocations: 29.38 kB / 0.7244 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.2153, allocations: 40.12 kB / 0.7245 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.2161, allocations: 416.9 kB / 0.7249 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2161, allocations: 0 / 0.7249 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.2161, allocations: 16 kB / 0.7249 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2161, allocations: 12 kB / 0.7249 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.2167, allocations: 314.4 kB / 0.7252 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.2186, allocations: 1.245 MB / 0.7264 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2192, allocations: 314.7 kB / 0.7267 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2194, allocations: 110.2 kB / 0.7268 GB, free: 5.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.2195, allocations: 4.234 kB / 0.7268 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2195, allocations: 46.73 kB / 0.7268 GB, free: 5.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.412e-06/0.2195, allocations: 0 / 0.7268 GB, free: 5.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009195/0.2204, allocations: 407.3 kB / 0.7272 GB, free: 4.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.2206, allocations: 183.9 kB / 0.7274 GB, free: 4.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008966/0.2215, allocations: 0.6122 MB / 0.728 GB, free: 3.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.2215, allocations: 33.7 kB / 0.728 GB, free: 3.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.2217, allocations: 288.6 kB / 0.7283 GB, free: 3.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2219, allocations: 111 kB / 0.7284 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.222, allocations: 57.98 kB / 0.7285 GB, free: 3.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2222, allocations: 362.8 kB / 0.7288 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.2224, allocations: 101.7 kB / 0.7289 GB, free: 3.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2226, allocations: 170.6 kB / 0.7291 GB, free: 2.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2231, allocations: 228.2 kB / 0.7293 GB, free: 2.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2231, allocations: 4 kB / 0.7293 GB, free: 2.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006077/0.2237, allocations: 321.1 kB / 0.7296 GB, free: 2.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2237, allocations: 8.062 kB / 0.7296 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2237, allocations: 4 kB / 0.7296 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2237, allocations: 0 / 0.7296 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.224, allocations: 55.91 kB / 0.7297 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.224, allocations: 0 / 0.7297 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2242, allocations: 43.75 kB / 0.7297 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2242, allocations: 12 kB / 0.7297 GB, free: 2.145 MB / 0.545 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.00036/0.2246, allocations: 221.6 kB / 0.7299 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2247, allocations: 55.67 kB / 0.73 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.2254, allocations: 350.6 kB / 0.7303 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.2254, allocations: 4 kB / 0.7303 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2254, allocations: 0 / 0.7303 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2255, allocations: 0 / 0.7303 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.2262, allocations: 0.5482 MB / 0.7309 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2262, allocations: 0 / 0.7309 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2264, allocations: 55.91 kB / 0.7309 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2264, allocations: 4 kB / 0.7309 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.2265, allocations: 12 kB / 0.7309 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.2265, allocations: 4 kB / 0.7309 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2265, allocations: 0 / 0.7309 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.2274, allocations: 0.6192 MB / 0.7315 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.2276, allocations: 144.6 kB / 0.7317 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.2276, allocations: 16.05 kB / 0.7317 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2279, allocations: 19.98 kB / 0.7317 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.228, allocations: 23.97 kB / 0.7317 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.228, allocations: 8 kB / 0.7317 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006324/0.2286, allocations: 458.8 kB / 0.7322 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2286, allocations: 0 / 0.7322 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004986/0.2291, allocations: 107.7 kB / 0.7323 GB, free: 15.42 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.001624/0.2307, allocations: 460.5 kB / 0.7327 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.2313, allocations: 244.4 kB / 0.733 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2313, allocations: 0 / 0.733 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.2316, allocations: 131.9 kB / 0.7331 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.2322, allocations: 93.41 kB / 0.7332 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2339, allocations: 0.916 MB / 0.7341 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.2344, allocations: 0.8708 MB / 0.7349 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.2347, allocations: 99.56 kB / 0.735 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2348, allocations: 63.39 kB / 0.7351 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2348, allocations: 0 / 0.7351 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.01263/0.2475, allocations: 5.827 MB / 0.7408 GB, free: 6.887 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.834588956087828] Failed to read output from testmodel.py, exit status != 0: 0.25589489564299583 0.583533525 0.36695225299999995 Calling exit ...