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.001559/0.001559, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001713/0.001713, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.403/1.403, 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.942/0.942, 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: 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.00204/0.00204, allocations: 75.2 kB / 0.6335 GB, free: 6.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1615, allocations: 87.88 MB / 0.7193 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004533/0.166, allocations: 2.885 MB / 0.7222 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1694, allocations: 2.206 MB / 0.7243 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1696, allocations: 8 kB / 0.7243 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1699, allocations: 103 kB / 0.7244 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.1705, allocations: 258.7 kB / 0.7247 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.1713, allocations: 384.8 kB / 0.725 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.172, allocations: 0.6755 MB / 0.7257 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.1723, allocations: 180.2 kB / 0.7259 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1726, allocations: 254.9 kB / 0.7261 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.173, allocations: 258.6 kB / 0.7264 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.1731, allocations: 64 kB / 0.7264 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1733, allocations: 155.9 kB / 0.7266 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1735, allocations: 171.4 kB / 0.7267 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.1737, allocations: 214.7 kB / 0.7269 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009092/0.1746, allocations: 0.8132 MB / 0.7277 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1746, allocations: 0 / 0.7277 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1746, allocations: 0 / 0.7277 GB, free: 5.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1746, allocations: 0 / 0.7277 GB, free: 5.777 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.001268/0.1759, allocations: 0.8508 MB / 0.7286 GB, free: 4.891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1759, allocations: 8.031 kB / 0.7286 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.1763, allocations: 88.47 kB / 0.7287 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.177, allocations: 438.4 kB / 0.7291 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.177, allocations: 29.38 kB / 0.7291 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.177, allocations: 40.12 kB / 0.7291 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.1778, allocations: 0.5153 MB / 0.7296 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1778, allocations: 0 / 0.7296 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.1778, allocations: 19.94 kB / 0.7297 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1778, allocations: 8 kB / 0.7297 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.1784, allocations: 310.4 kB / 0.73 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.18, allocations: 1.017 MB / 0.731 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.1805, allocations: 313.1 kB / 0.7313 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1807, allocations: 110.2 kB / 0.7314 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.1808, allocations: 12.17 kB / 0.7314 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1808, allocations: 42.78 kB / 0.7314 GB, free: 1.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.1808, allocations: 3.938 kB / 0.7314 GB, free: 1.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007878/0.1816, allocations: 395.5 kB / 0.7318 GB, free: 1.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1817, allocations: 187.9 kB / 0.732 GB, free: 1.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1825, allocations: 0.5801 MB / 0.7325 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.1825, allocations: 29.7 kB / 0.7326 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.1828, allocations: 280.5 kB / 0.7328 GB, free: 308 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1829, allocations: 115 kB / 0.7329 GB, free: 192 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.183, allocations: 53.98 kB / 0.733 GB, free: 128 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1832, allocations: 366.8 kB / 0.7333 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1834, allocations: 105.7 kB / 0.7334 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.1837, allocations: 266.7 kB / 0.7337 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.1841, allocations: 236.2 kB / 0.7339 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1841, allocations: 0 / 0.7339 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005629/0.1846, allocations: 321.1 kB / 0.7342 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1846, allocations: 8 kB / 0.7342 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1846, allocations: 0 / 0.7342 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1847, allocations: 0 / 0.7342 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1849, allocations: 59.91 kB / 0.7343 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1849, allocations: 8.062 kB / 0.7343 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1851, allocations: 27.88 kB / 0.7343 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1851, allocations: 11.98 kB / 0.7343 GB, free: 14.67 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.0003269/0.1854, allocations: 213.7 kB / 0.7345 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1855, allocations: 59.61 kB / 0.7346 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.1862, allocations: 342.3 kB / 0.7349 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1862, allocations: 4 kB / 0.7349 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1862, allocations: 8 kB / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1862, allocations: 3.984 kB / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.1867, allocations: 392.8 kB / 0.7353 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1868, allocations: 0 / 0.7353 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.187, allocations: 55.91 kB / 0.7354 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.187, allocations: 7.938 kB / 0.7354 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.187, allocations: 8.125 kB / 0.7354 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.187, allocations: 4 kB / 0.7354 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.187, allocations: 0 / 0.7354 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.1879, allocations: 0.6199 MB / 0.736 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.188, allocations: 63.59 kB / 0.7361 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.188, allocations: 8 kB / 0.7361 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1883, allocations: 19.97 kB / 0.7361 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.1883, allocations: 31.95 kB / 0.7361 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1884, allocations: 8 kB / 0.7361 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005507/0.1889, allocations: 422.8 kB / 0.7365 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1889, allocations: 3.938 kB / 0.7365 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004423/0.1893, allocations: 119.6 kB / 0.7366 GB, free: 12.25 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.001659/0.191, allocations: 496.5 kB / 0.7371 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1915, allocations: 236.2 kB / 0.7373 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1915, allocations: 0 / 0.7373 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.1917, allocations: 135.9 kB / 0.7375 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.1923, allocations: 79.59 kB / 0.7375 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1938, allocations: 0.9241 MB / 0.7384 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1941, allocations: 263.1 kB / 0.7387 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.1944, allocations: 99.45 kB / 0.7388 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1945, allocations: 59.41 kB / 0.7389 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1945, allocations: 0 / 0.7389 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.01198/0.2065, allocations: 6.12 MB / 0.7448 GB, free: 4.082 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.115751830860972] Failed to read output from testmodel.py, exit status != 0: 0.2150657158344984 0.492048587 0.314780616 Calling exit ...