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.001475/0.001475, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001799/0.001799, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.957 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.8951/0.8951, allocations: 145 MB / 457.4 MB, free: 15.47 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.002145/0.002145, allocations: 66.17 kB / 0.6331 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1687, allocations: 87.88 MB / 0.7189 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005502/0.1742, allocations: 3.137 MB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.1783, allocations: 2.272 MB / 0.7242 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.1787, allocations: 11.94 kB / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1791, allocations: 103 kB / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009158/0.18, allocations: 258.7 kB / 0.7246 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.1808, allocations: 388.3 kB / 0.725 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009574/0.1818, allocations: 0.6716 MB / 0.7256 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.1823, allocations: 188.2 kB / 0.7258 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1826, allocations: 254.9 kB / 0.726 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.1831, allocations: 302.5 kB / 0.7263 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1832, allocations: 64 kB / 0.7264 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.1836, allocations: 163.9 kB / 0.7265 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.1838, allocations: 171.3 kB / 0.7267 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.1841, allocations: 290.3 kB / 0.727 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1851, allocations: 0.8054 MB / 0.7278 GB, free: 6.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1851, allocations: 0 / 0.7278 GB, free: 6.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1851, allocations: 3.938 kB / 0.7278 GB, free: 6.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.1851, allocations: 0 / 0.7278 GB, free: 6.34 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.1865, allocations: 0.8508 MB / 0.7286 GB, free: 5.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1866, allocations: 12.03 kB / 0.7286 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.675e-05/0.1866, allocations: 70.72 kB / 0.7287 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.1869, allocations: 88.45 kB / 0.7288 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.1876, allocations: 434.4 kB / 0.7292 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.1877, allocations: 33.36 kB / 0.7292 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.1878, allocations: 39.94 kB / 0.7292 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.1884, allocations: 420.9 kB / 0.7296 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1884, allocations: 3.938 kB / 0.7297 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.1884, allocations: 16 kB / 0.7297 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1885, allocations: 8 kB / 0.7297 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.189, allocations: 310.4 kB / 0.73 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.191, allocations: 1.215 MB / 0.7312 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.1916, allocations: 311.9 kB / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1918, allocations: 106.2 kB / 0.7316 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1918, allocations: 12.22 kB / 0.7316 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1919, allocations: 46.83 kB / 0.7316 GB, free: 2.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.1919, allocations: 0 / 0.7316 GB, free: 2.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009021/0.1928, allocations: 395.3 kB / 0.732 GB, free: 1.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1929, allocations: 187.9 kB / 0.7322 GB, free: 1.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.1937, allocations: 0.6122 MB / 0.7328 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.1937, allocations: 37.7 kB / 0.7328 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.194, allocations: 276.6 kB / 0.7331 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1941, allocations: 115 kB / 0.7332 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.1942, allocations: 61.98 kB / 0.7332 GB, free: 500 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1944, allocations: 366.8 kB / 0.7336 GB, free: 124 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.1946, allocations: 101.8 kB / 0.7337 GB, free: 20 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1949, allocations: 167.8 kB / 0.7338 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.1952, allocations: 224.2 kB / 0.7341 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1952, allocations: 3.938 kB / 0.7341 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006684/0.1959, allocations: 329.1 kB / 0.7344 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1959, allocations: 6.094 kB / 0.7344 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1959, allocations: 4 kB / 0.7344 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.196, allocations: 4 kB / 0.7344 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1962, allocations: 55.91 kB / 0.7344 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1962, allocations: 4 kB / 0.7344 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1964, allocations: 31.83 kB / 0.7345 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.1964, allocations: 11.98 kB / 0.7345 GB, free: 15.16 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.0003569/0.1967, allocations: 217.9 kB / 0.7347 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.1969, allocations: 55.67 kB / 0.7347 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.1976, allocations: 354.7 kB / 0.7351 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1976, allocations: 0 / 0.7351 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1976, allocations: 4 kB / 0.7351 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1976, allocations: 3.984 kB / 0.7351 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.1983, allocations: 0.5157 MB / 0.7356 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1983, allocations: 0 / 0.7356 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1986, allocations: 55.91 kB / 0.7356 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1986, allocations: 4 kB / 0.7357 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1986, allocations: 11.94 kB / 0.7357 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1986, allocations: 0 / 0.7357 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1986, allocations: 0 / 0.7357 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.1995, allocations: 0.6276 MB / 0.7363 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1996, allocations: 63.58 kB / 0.7363 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.1996, allocations: 4 kB / 0.7363 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.1999, allocations: 28.03 kB / 0.7364 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.2, allocations: 27.89 kB / 0.7364 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2, allocations: 12 kB / 0.7364 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005966/0.2006, allocations: 446.8 kB / 0.7368 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2006, allocations: 0 / 0.7368 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004724/0.2011, allocations: 115.6 kB / 0.7369 GB, free: 12.57 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.002841/0.204, allocations: 1.519 MB / 0.7384 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.2045, allocations: 247.7 kB / 0.7387 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2045, allocations: 0 / 0.7387 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.2048, allocations: 127.9 kB / 0.7388 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2054, allocations: 91.75 kB / 0.7389 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.2113, allocations: 4.026 MB / 0.7428 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.2119, allocations: 0.8669 MB / 0.7437 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.2122, allocations: 99.56 kB / 0.7437 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.2125, allocations: 215.3 kB / 0.744 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.2125, allocations: 0 / 0.744 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/0.5516, allocations: 10.83 MB / 0.7545 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.32, allocations: 12.48 kB / 0.7545 GB, free: 29.55 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: 16.70610960596241] Failed to read output from testmodel.py, exit status != 0: 12.520691329147667 12.550396872 12.360837628 Calling exit ...