Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.001944/0.001944, allocations: 115 kB / 19.7 MB, free: 2.039 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.002349/0.002349, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9858/0.9858, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002116/0.002116, allocations: 71.25 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1836, allocations: 89.17 MB / 0.7283 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002747/0.1864, allocations: 1.505 MB / 0.7298 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1881, allocations: 1.25 MB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1882, allocations: 3.938 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.1883, allocations: 15.86 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1885, allocations: 39.78 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.1887, allocations: 59.78 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1889, allocations: 147.6 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.189, allocations: 45.48 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1892, allocations: 79.77 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1893, allocations: 55.7 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1894, allocations: 12 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.1894, allocations: 31.98 kB / 0.7315 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.1895, allocations: 55.81 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.524e-05/0.1896, allocations: 71.53 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1899, allocations: 199.2 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1899, allocations: 0 / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1899, allocations: 4 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1899, allocations: 0 / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006924/0.1906, allocations: 429.3 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1906, allocations: 8.031 kB / 0.7322 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1907, allocations: 38.75 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.1907, allocations: 20.84 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.191, allocations: 206 kB / 0.7325 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.1913, allocations: 230.2 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1913, allocations: 4.375 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1916, allocations: 157.5 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1916, allocations: 0 / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1916, allocations: 4 kB / 0.7329 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.1917, allocations: 8 kB / 0.7329 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.1918, allocations: 43.91 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1928, allocations: 435.5 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.1929, allocations: 34.5 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.1929, allocations: 24.86 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1929, allocations: 3.984 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.193, allocations: 38.56 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.193, allocations: 0 / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002672/0.1932, allocations: 105.5 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1933, allocations: 55.5 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1935, allocations: 215.8 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1935, allocations: 29.64 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.1936, allocations: 124.2 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1937, allocations: 31.73 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1937, allocations: 33.72 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1938, allocations: 326.8 kB / 0.7343 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.1939, allocations: 27.98 kB / 0.7343 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.194, allocations: 102.2 kB / 0.7344 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1942, allocations: 142.1 kB / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1942, allocations: 0 / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002536/0.1945, allocations: 157.3 kB / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1945, allocations: 8 kB / 0.7347 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1945, allocations: 320 / 0.7347 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1945, allocations: 4 kB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.1946, allocations: 23.98 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1946, allocations: 11.88 kB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.1947, allocations: 15.89 kB / 0.7348 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1947, allocations: 12.36 kB / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001319/0.1948, allocations: 145.8 kB / 0.7349 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1949, allocations: 15.91 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.1951, allocations: 122.8 kB / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1951, allocations: 0 / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1951, allocations: 3.938 kB / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1951, allocations: 0 / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1954, allocations: 208.6 kB / 0.7353 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1954, allocations: 0 / 0.7353 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1955, allocations: 16 kB / 0.7353 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1955, allocations: 0 / 0.7353 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1955, allocations: 3.984 kB / 0.7353 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1955, allocations: 0 / 0.7353 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1955, allocations: 3.938 kB / 0.7353 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1957, allocations: 191.4 kB / 0.7355 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.1957, allocations: 11.91 kB / 0.7355 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1957, allocations: 0 / 0.7355 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.196, allocations: 27.97 kB / 0.7355 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.196, allocations: 7.938 kB / 0.7355 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.196, allocations: 11.97 kB / 0.7355 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001561/0.1962, allocations: 160.2 kB / 0.7357 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1962, allocations: 0 / 0.7357 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003055/0.1965, allocations: 31.94 kB / 0.7357 GB, free: 9.348 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007233/0.1972, allocations: 0.7532 MB / 0.7364 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1974, allocations: 72.45 kB / 0.7365 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1974, allocations: 4.125 kB / 0.7365 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.1974, allocations: 27.97 kB / 0.7365 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.1977, allocations: 25.27 kB / 0.7366 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.1999, allocations: 1.905 MB / 0.7384 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.2003, allocations: 0.7314 MB / 0.7391 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.2004, allocations: 60.75 kB / 0.7392 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.2005, allocations: 43.42 kB / 0.7392 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2005, allocations: 0 / 0.7392 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.2314, allocations: 4.373 MB / 0.7435 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 3.984 kB / 0.7435 GB, free: 1.348 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.470842581002216] Failed to read output from testmodel.py, exit status != 0: 11.548963432000164 11.573042422 11.379933246 Calling exit ...