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.001572/0.001572, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001716/0.001716, allocations: 219.4 kB / 22.99 MB, free: 4.914 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.904/0.904, allocations: 145 MB / 458.2 MB, free: 15.25 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: 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.002075/0.002075, allocations: 71.02 kB / 0.6343 GB, free: 6.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 87.88 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004843/0.1671, allocations: 2.881 MB / 0.7229 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.1708, allocations: 2.202 MB / 0.7251 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1712, allocations: 8 kB / 0.7251 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.1716, allocations: 95.05 kB / 0.7252 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008496/0.1724, allocations: 266.6 kB / 0.7254 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.1733, allocations: 381.2 kB / 0.7258 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.1741, allocations: 0.6793 MB / 0.7264 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.1745, allocations: 180.2 kB / 0.7266 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.1747, allocations: 254.9 kB / 0.7269 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.1752, allocations: 262.5 kB / 0.7271 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.1753, allocations: 64 kB / 0.7272 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.1756, allocations: 155.9 kB / 0.7273 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.1758, allocations: 167.5 kB / 0.7275 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.176, allocations: 218.7 kB / 0.7277 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009324/0.1769, allocations: 0.8132 MB / 0.7285 GB, free: 5.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1769, allocations: 3.984 kB / 0.7285 GB, free: 5.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1769, allocations: 4 kB / 0.7285 GB, free: 5.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1769, allocations: 0 / 0.7285 GB, free: 5.707 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.001321/0.1782, allocations: 0.843 MB / 0.7293 GB, free: 4.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1783, allocations: 12.03 kB / 0.7293 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.1786, allocations: 84.45 kB / 0.7294 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.1793, allocations: 446.4 kB / 0.7298 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.1793, allocations: 33.31 kB / 0.7299 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.1794, allocations: 44.11 kB / 0.7299 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/0.1801, allocations: 0.5114 MB / 0.7304 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1801, allocations: 0 / 0.7304 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.1802, allocations: 16 kB / 0.7304 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1802, allocations: 8 kB / 0.7304 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.1807, allocations: 306.4 kB / 0.7307 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.1824, allocations: 1.017 MB / 0.7317 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.1829, allocations: 320.7 kB / 0.732 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1831, allocations: 110.2 kB / 0.7321 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.1832, allocations: 12.16 kB / 0.7321 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1832, allocations: 38.8 kB / 0.7322 GB, free: 1.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.1832, allocations: 0 / 0.7322 GB, free: 1.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008226/0.184, allocations: 403.5 kB / 0.7326 GB, free: 1.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1841, allocations: 187.9 kB / 0.7327 GB, free: 1.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.1849, allocations: 0.5762 MB / 0.7333 GB, free: 0.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.1849, allocations: 33.7 kB / 0.7333 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.1852, allocations: 272.5 kB / 0.7336 GB, free: 240 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.1853, allocations: 119 kB / 0.7337 GB, free: 120 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.1854, allocations: 57.98 kB / 0.7338 GB, free: 52 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1856, allocations: 358.8 kB / 0.7341 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1857, allocations: 109.7 kB / 0.7342 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.186, allocations: 274.7 kB / 0.7345 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1864, allocations: 232.2 kB / 0.7347 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1864, allocations: 0 / 0.7347 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000556/0.187, allocations: 321.1 kB / 0.735 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.187, allocations: 4 kB / 0.735 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.187, allocations: 0 / 0.735 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.187, allocations: 4 kB / 0.735 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1873, allocations: 59.91 kB / 0.7351 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1873, allocations: 4.062 kB / 0.7351 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1874, allocations: 27.88 kB / 0.7351 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.1875, allocations: 12 kB / 0.7351 GB, free: 14.6 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.0003602/0.1878, allocations: 212.3 kB / 0.7353 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1879, allocations: 55.61 kB / 0.7354 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.1886, allocations: 350.3 kB / 0.7357 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1886, allocations: 4 kB / 0.7357 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1886, allocations: 4 kB / 0.7357 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1886, allocations: 0 / 0.7357 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1892, allocations: 392.9 kB / 0.7361 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1892, allocations: 3.938 kB / 0.7361 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1894, allocations: 55.91 kB / 0.7361 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1894, allocations: 3.938 kB / 0.7361 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1894, allocations: 12.12 kB / 0.7361 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1894, allocations: 7.938 kB / 0.7361 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1894, allocations: 0 / 0.7361 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.1903, allocations: 0.6198 MB / 0.7368 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1904, allocations: 63.62 kB / 0.7368 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.1905, allocations: 8 kB / 0.7368 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1907, allocations: 19.98 kB / 0.7368 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.1908, allocations: 23.95 kB / 0.7369 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1908, allocations: 15.98 kB / 0.7369 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000546/0.1913, allocations: 422.8 kB / 0.7373 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1913, allocations: 0 / 0.7373 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004805/0.1918, allocations: 119.6 kB / 0.7374 GB, free: 12.19 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.00163/0.1934, allocations: 489 kB / 0.7379 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.194, allocations: 244.2 kB / 0.7381 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.194, allocations: 0 / 0.7381 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1942, allocations: 123.9 kB / 0.7382 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1948, allocations: 89.62 kB / 0.7383 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1963, allocations: 0.9531 MB / 0.7392 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1966, allocations: 263.1 kB / 0.7395 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.1968, allocations: 67.39 kB / 0.7395 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.1968, allocations: 0 / 0.7395 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.01133/0.2081, allocations: 7.688 MB / 0.7471 GB, free: 2.457 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: 9.118886524811387] Failed to read output from testmodel.py, exit status != 0: 0.217445177026093 0.49832510900000004 0.318431065 Calling exit ...