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.001459/0.001459, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001531/0.001531, allocations: 214.8 kB / 22.99 MB, free: 4.977 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.978/0.978, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002102/0.002102, allocations: 67.14 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1657, allocations: 89.17 MB / 0.7281 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002974/0.1687, allocations: 1.484 MB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1705, allocations: 1.204 MB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1705, allocations: 3.938 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1707, allocations: 11.88 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1709, allocations: 50.39 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1711, allocations: 59.03 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1713, allocations: 147.6 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1714, allocations: 33.56 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1716, allocations: 87.69 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1717, allocations: 59.7 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1718, allocations: 8 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.571e-05/0.1719, allocations: 27.98 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.172, allocations: 55.83 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.1721, allocations: 63.64 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1724, allocations: 203.2 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1724, allocations: 7.938 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1724, allocations: 0 / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1724, allocations: 0 / 0.7315 GB, free: 13.55 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.0007154/0.1731, allocations: 425.3 kB / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1732, allocations: 8.031 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.1732, allocations: 42.73 kB / 0.732 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.1733, allocations: 20.84 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1736, allocations: 202.1 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.1738, allocations: 226.2 kB / 0.7324 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1739, allocations: 8.375 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.1743, allocations: 260.3 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1743, allocations: 0 / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1743, allocations: 3.984 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.1744, allocations: 12 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.1744, allocations: 43.91 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1755, allocations: 411.6 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.1756, allocations: 34.5 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.1757, allocations: 24.84 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1757, allocations: 0 / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1757, allocations: 34.56 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1757, allocations: 4 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.176, allocations: 101.6 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.176, allocations: 59.33 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1763, allocations: 215.7 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1763, allocations: 33.7 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.1764, allocations: 124.1 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1764, allocations: 31.92 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1765, allocations: 29.7 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1766, allocations: 326.8 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.1767, allocations: 23.98 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1768, allocations: 98.28 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.177, allocations: 146.1 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.177, allocations: 4 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002618/0.1773, allocations: 149.3 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1773, allocations: 4 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1773, allocations: 4 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1773, allocations: 4.375 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1774, allocations: 27.98 kB / 0.7346 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.1774, allocations: 11.88 kB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.1775, allocations: 15.89 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1775, allocations: 11.92 kB / 0.7346 GB, free: 10.09 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.0001437/0.1777, allocations: 141.8 kB / 0.7347 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.1777, allocations: 15.89 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.178, allocations: 119.1 kB / 0.7349 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.178, allocations: 0 / 0.7349 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.178, allocations: 3.938 kB / 0.7349 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.178, allocations: 0 / 0.7349 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1782, allocations: 184.7 kB / 0.735 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1782, allocations: 3.984 kB / 0.735 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.1783, allocations: 12 kB / 0.735 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1783, allocations: 0 / 0.735 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1783, allocations: 11.94 kB / 0.7351 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1783, allocations: 0 / 0.7351 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1783, allocations: 4.016 kB / 0.7351 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1785, allocations: 195.3 kB / 0.7353 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.1786, allocations: 15.89 kB / 0.7353 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1786, allocations: 8 kB / 0.7353 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.1788, allocations: 19.98 kB / 0.7353 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1788, allocations: 11.92 kB / 0.7353 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1789, allocations: 7.984 kB / 0.7353 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001697/0.179, allocations: 160.2 kB / 0.7355 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 0.7355 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003192/0.1794, allocations: 35.89 kB / 0.7355 GB, free: 9.078 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.0006901/0.18, allocations: 0.745 MB / 0.7362 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1802, allocations: 71.83 kB / 0.7363 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1802, allocations: 0 / 0.7363 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.1803, allocations: 20 kB / 0.7363 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1806, allocations: 27.02 kB / 0.7363 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.1827, allocations: 1.912 MB / 0.7382 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.1828, allocations: 126.1 kB / 0.7383 GB, free: 6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.1829, allocations: 48.89 kB / 0.7384 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.183, allocations: 55.41 kB / 0.7384 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.183, allocations: 0 / 0.7384 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.2186, allocations: 4.878 MB / 0.7432 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.65, allocations: 3.75 kB / 0.7432 GB, free: 1.219 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.515907044988126] Failed to read output from testmodel.py, exit status != 0: 11.756378680001944 11.77990595 11.603084378 Calling exit ...