Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001866/0.001866, allocations: 103 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.002241/0.002241, allocations: 212.9 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.453/1.453, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_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.002123/0.002123, allocations: 70.23 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.788, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003076/0.7911, allocations: 1.515 MB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.7929, allocations: 1.153 MB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.7929, allocations: 0 / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.7931, allocations: 23.84 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.7933, allocations: 35.8 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.7935, allocations: 59.22 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.7937, allocations: 159.4 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.7939, allocations: 46.94 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.794, allocations: 83.81 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.7942, allocations: 55.69 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.7942, allocations: 15.94 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.7944, allocations: 32 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.7945, allocations: 55.75 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.7945, allocations: 71.58 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.7948, allocations: 203.2 kB / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7948, allocations: 0 / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7948, allocations: 0 / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.7948, allocations: 0 / 1.282 GB, free: 9.914 MB / 0.9825 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.0008216/0.7957, allocations: 494.5 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7957, allocations: 16.03 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.7958, allocations: 42.73 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.7958, allocations: 16.84 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.7962, allocations: 265.2 kB / 1.282 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.7963, allocations: 115.4 kB / 1.283 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.7964, allocations: 4.375 kB / 1.283 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.7967, allocations: 161.5 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7967, allocations: 3.938 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.7968, allocations: 7.984 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.7968, allocations: 8 kB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.7969, allocations: 43.97 kB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.798, allocations: 468.4 kB / 1.283 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.7981, allocations: 26.58 kB / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.7981, allocations: 24.84 kB / 1.283 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.7982, allocations: 4 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.7982, allocations: 30.56 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7982, allocations: 0 / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003313/0.7985, allocations: 113.6 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.7986, allocations: 59.34 kB / 1.283 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.7989, allocations: 211.8 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.7989, allocations: 33.7 kB / 1.284 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.799, allocations: 124.1 kB / 1.284 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.7991, allocations: 27.75 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.7991, allocations: 29.7 kB / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7993, allocations: 322.8 kB / 1.284 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.7993, allocations: 31.97 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.7995, allocations: 98.23 kB / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.7997, allocations: 146.1 kB / 1.284 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7997, allocations: 0 / 1.284 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002568/0.7999, allocations: 149.3 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.8, allocations: 12.36 kB / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8, allocations: 8 kB / 1.285 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8, allocations: 4 kB / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8001, allocations: 23.88 kB / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.8001, allocations: 11.92 kB / 1.285 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.8002, allocations: 11.95 kB / 1.285 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.8002, allocations: 8 kB / 1.285 GB, free: 6.484 MB / 0.9825 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.0001453/0.8003, allocations: 150.2 kB / 1.285 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.8004, allocations: 15.91 kB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.8006, allocations: 103.1 kB / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8006, allocations: 0 / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8006, allocations: 7.938 kB / 1.285 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8006, allocations: 3.984 kB / 1.285 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.8009, allocations: 233.5 kB / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8009, allocations: 0 / 1.285 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.801, allocations: 19.98 kB / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.801, allocations: 0 / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.801, allocations: 7.938 kB / 1.285 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.801, allocations: 0 / 1.285 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.801, allocations: 3.938 kB / 1.285 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.8012, allocations: 195.8 kB / 1.285 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.8013, allocations: 89.02 kB / 1.285 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.8013, allocations: 7.984 kB / 1.285 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.8015, allocations: 15.98 kB / 1.285 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.8016, allocations: 11.92 kB / 1.286 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.8016, allocations: 11.92 kB / 1.286 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001727/0.8018, allocations: 169.5 kB / 1.286 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8018, allocations: 3.938 kB / 1.286 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000301/0.8021, allocations: 28 kB / 1.286 GB, free: 5.324 MB / 0.9825 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.0007328/0.8028, allocations: 0.7554 MB / 1.286 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.803, allocations: 67.84 kB / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.803, allocations: 0 / 1.287 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.803, allocations: 23.98 kB / 1.287 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.8033, allocations: 24.67 kB / 1.287 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.8057, allocations: 1.928 MB / 1.288 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.8062, allocations: 0.7314 MB / 1.289 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.8063, allocations: 52.84 kB / 1.289 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8064, allocations: 51.41 kB / 1.289 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.8064, allocations: 0 / 1.289 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.837, allocations: 4.242 MB / 1.293 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/9.123, allocations: 4.578 kB / 1.293 GB, free: 13.38 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.16816078312695] Failed to read output from testmodel.py, exit status != 0: 9.19413218810223 9.209081799 8.411270029 Calling exit ...