Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001832/0.001832, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002396/0.002396, allocations: 217.1 kB / 22.25 MB, free: 5.254 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_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.001995/0.001995, allocations: 63.39 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3935, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003619/0.3971, allocations: 1.505 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.3995, allocations: 1.2 MB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.3996, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3998, allocations: 23.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.4, allocations: 43.77 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.4003, allocations: 59.55 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.4005, allocations: 147.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.4007, allocations: 45.48 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4008, allocations: 79.75 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.4009, allocations: 55.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.401, allocations: 12 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.4011, allocations: 24 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.4011, allocations: 51.81 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.4013, allocations: 59.7 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.4016, allocations: 207.2 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4016, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4016, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4016, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 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.0007301/0.4024, allocations: 429.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4024, allocations: 8.031 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.4025, allocations: 38.75 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.4026, allocations: 20.83 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.4029, allocations: 202.5 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.4031, allocations: 226.1 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.4031, allocations: 16.34 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.4036, allocations: 258.4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4036, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.4036, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.4037, allocations: 7.984 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.4037, allocations: 39.97 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.405, allocations: 411.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.4051, allocations: 38.56 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.4051, allocations: 20.8 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.4052, allocations: 11.98 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4052, allocations: 30.56 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.4052, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002887/0.4055, allocations: 113.7 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4056, allocations: 55.34 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.4059, allocations: 219.8 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4059, allocations: 25.7 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.406, allocations: 124.2 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.406, allocations: 23.8 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.4061, allocations: 33.72 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4063, allocations: 330.8 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.4063, allocations: 27.92 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4064, allocations: 98.28 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4066, allocations: 142.1 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4066, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002983/0.4069, allocations: 157.3 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.407, allocations: 8 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.407, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.407, allocations: 4 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4071, allocations: 23.98 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4071, allocations: 11.88 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.4072, allocations: 12.27 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.4072, allocations: 12 kB / 1.332 GB, free: 10.52 MB / 1.029 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.0001313/0.4073, allocations: 141.8 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.4074, allocations: 15.91 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4076, allocations: 131 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4076, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4076, allocations: 7.938 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4076, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4079, allocations: 184.6 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4079, allocations: 0 / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.4079, allocations: 15.98 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4079, allocations: 8 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4079, allocations: 0 / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4079, allocations: 0 / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4079, allocations: 7.938 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4082, allocations: 187.4 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.4082, allocations: 11.91 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4083, allocations: 0 / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4085, allocations: 19.97 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.4085, allocations: 11.92 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.4086, allocations: 15.98 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000188/0.4088, allocations: 157.5 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4088, allocations: 0 / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003101/0.4091, allocations: 31.94 kB / 1.333 GB, free: 9.516 MB / 1.029 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.0007393/0.4098, allocations: 0.7596 MB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.41, allocations: 67.91 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.41, allocations: 3.938 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.41, allocations: 27.92 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4104, allocations: 23.92 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4127, allocations: 1.913 MB / 1.336 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4129, allocations: 122.1 kB / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.413, allocations: 48.94 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.4131, allocations: 51.41 kB / 1.336 GB, free: 6.309 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4131, allocations: 0 / 1.336 GB, free: 6.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04928/0.4624, allocations: 4.939 MB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.24, allocations: 4.062 kB / 1.341 GB, free: 1.539 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.98505756398663] Failed to read output from testmodel.py, exit status != 0: 12.349396506993799 12.376278322 11.969345976 Calling exit ...