Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001711/0.001711, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.00211/0.00211, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.375/3.375, allocations: 0.505 GB / 0.8066 GB, free: 23.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002103/0.002103, allocations: 66.59 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003002/0.393, allocations: 1.506 MB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3947, allocations: 1.148 MB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.3948, allocations: 7.938 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.395, allocations: 11.86 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3952, allocations: 43.78 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3954, allocations: 58.11 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3956, allocations: 155.5 kB / 1.351 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3958, allocations: 57.3 kB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3959, allocations: 79.83 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.3961, allocations: 59.64 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.3961, allocations: 12 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.3962, allocations: 24 kB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.3963, allocations: 55.75 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.3964, allocations: 75.58 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.3966, allocations: 191.3 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3966, allocations: 0 / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3966, allocations: 0 / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3966, allocations: 4 kB / 1.351 GB, free: 6.539 MB / 1.045 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.0008248/0.3975, allocations: 0.4945 MB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3975, allocations: 15.98 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.3976, allocations: 38.73 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.3977, allocations: 24.8 kB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.398, allocations: 259.7 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.3982, allocations: 119.4 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3982, allocations: 12.38 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.3986, allocations: 165.4 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3986, allocations: 0 / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.3986, allocations: 0 / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.3987, allocations: 15.98 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.3987, allocations: 43.91 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3999, allocations: 456.5 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.4, allocations: 38.5 kB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.4, allocations: 24.84 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4001, allocations: 4.141 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4001, allocations: 46.55 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4001, allocations: 0 / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002894/0.4004, allocations: 101.6 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4004, allocations: 59.28 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.4007, allocations: 208.8 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4007, allocations: 29.7 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.4008, allocations: 124 kB / 1.353 GB, free: 4.059 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4008, allocations: 23.89 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.4009, allocations: 37.7 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4011, allocations: 326.8 kB / 1.354 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.4011, allocations: 31.97 kB / 1.354 GB, free: 3.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4012, allocations: 102.2 kB / 1.354 GB, free: 3.496 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.4014, allocations: 142.1 kB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4014, allocations: 0 / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002693/0.4017, allocations: 157.4 kB / 1.354 GB, free: 3.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4017, allocations: 11.94 kB / 1.354 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4017, allocations: 0 / 1.354 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4017, allocations: 4 kB / 1.354 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4019, allocations: 27.92 kB / 1.354 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4019, allocations: 7.938 kB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.4019, allocations: 7.938 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.4019, allocations: 8 kB / 1.354 GB, free: 3.094 MB / 1.045 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.0001354/0.4021, allocations: 146.1 kB / 1.354 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.4021, allocations: 15.91 kB / 1.354 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4024, allocations: 122.9 kB / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4024, allocations: 0 / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4024, allocations: 3.938 kB / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4024, allocations: 0 / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4027, allocations: 229.6 kB / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4027, allocations: 0 / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.4027, allocations: 12 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4027, allocations: 8 kB / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.4027, allocations: 0 / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4028, allocations: 0 / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4028, allocations: 3.938 kB / 1.355 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.403, allocations: 195.4 kB / 1.355 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.403, allocations: 89 kB / 1.355 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.403, allocations: 7.938 kB / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4033, allocations: 19.98 kB / 1.355 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.4033, allocations: 7.922 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4034, allocations: 15.98 kB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001555/0.4035, allocations: 160.5 kB / 1.355 GB, free: 1.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4035, allocations: 0 / 1.355 GB, free: 1.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003156/0.4038, allocations: 35.83 kB / 1.355 GB, free: 1.938 MB / 1.045 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.0007366/0.4046, allocations: 0.7518 MB / 1.356 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4048, allocations: 68.41 kB / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4048, allocations: 192 / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.4048, allocations: 28.53 kB / 1.356 GB, free: 1.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4051, allocations: 29.94 kB / 1.356 GB, free: 1.043 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.4074, allocations: 1.916 MB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4078, allocations: 0.7392 MB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000131/0.4079, allocations: 48.84 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.408, allocations: 47.41 kB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.408, allocations: 4 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.44, allocations: 4.226 MB / 1.363 GB, free: 10.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.965, allocations: 13.45 kB / 1.363 GB, free: 9.996 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.09291071491316] Failed to read output from testmodel.py, exit status != 0: 9.056266748113558 9.077168106 8.677247287 Calling exit ...