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.00157/0.00157, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001961/0.001961, allocations: 214.8 kB / 23.04 MB, free: 5.078 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.829/2.829, allocations: 476.7 MB / 0.7715 GB, free: 4.297 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.003103/0.003103, allocations: 66.92 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3894, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003242/0.3926, allocations: 1.519 MB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3946, allocations: 1.24 MB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.3946, allocations: 0 / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3948, allocations: 15.86 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.395, allocations: 51.77 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3952, allocations: 58.84 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.3954, allocations: 143.6 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3956, allocations: 36.8 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3957, allocations: 87.75 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3959, allocations: 59.66 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.3959, allocations: 8 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.396, allocations: 27.98 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3961, allocations: 55.81 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.3962, allocations: 71.59 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3965, allocations: 203.2 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3965, allocations: 0 / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3965, allocations: 0 / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3965, allocations: 3.938 kB / 1.288 GB, free: 8.043 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.0007728/0.3973, allocations: 429.3 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3974, allocations: 8.031 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.792e-05/0.3974, allocations: 4.188 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.3974, allocations: 42.73 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.3975, allocations: 16.84 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3979, allocations: 198.2 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3981, allocations: 218.2 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3981, allocations: 12.12 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.3985, allocations: 161.5 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3985, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3986, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.3986, allocations: 11.98 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.3987, allocations: 43.97 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3999, allocations: 435.5 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.4, allocations: 30.56 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.4, allocations: 28.84 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.4001, allocations: 0 / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.4001, allocations: 42.56 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.4001, allocations: 0 / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003075/0.4004, allocations: 105.5 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4005, allocations: 55.34 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4008, allocations: 211.8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.4008, allocations: 29.7 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4009, allocations: 132.2 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.4009, allocations: 27.75 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.401, allocations: 37.7 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4012, allocations: 322.8 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.4012, allocations: 27.98 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4013, allocations: 102.2 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4015, allocations: 142.2 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4015, allocations: 0 / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002769/0.4018, allocations: 157.2 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4018, allocations: 11.98 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4018, allocations: 0 / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4019, allocations: 4 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.402, allocations: 27.88 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.402, allocations: 8.297 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.402, allocations: 11.95 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4021, allocations: 8.375 kB / 1.291 GB, free: 4.684 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.0001423/0.4022, allocations: 153.7 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.4023, allocations: 15.91 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.4025, allocations: 119.1 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.4025, allocations: 3.938 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4025, allocations: 0 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4025, allocations: 3.984 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.4028, allocations: 196.6 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4028, allocations: 4 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.4029, allocations: 19.92 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4029, allocations: 8 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4029, allocations: 3.938 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4029, allocations: 3.938 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4029, allocations: 0 / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.4031, allocations: 183.4 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.4032, allocations: 19.78 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4032, allocations: 4 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.4035, allocations: 27.91 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.4035, allocations: 3.984 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4035, allocations: 11.98 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001948/0.4037, allocations: 165.5 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4037, allocations: 0 / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003316/0.404, allocations: 28 kB / 1.292 GB, free: 3.648 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.0007615/0.4048, allocations: 0.7461 MB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.405, allocations: 68.47 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.405, allocations: 4.125 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.405, allocations: 27.92 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4054, allocations: 28.67 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4078, allocations: 1.918 MB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.4083, allocations: 0.7353 MB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.4084, allocations: 52.94 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.4085, allocations: 51.41 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.4085, allocations: 0 / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.4371, allocations: 4.401 MB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.5, allocations: 15.89 kB / 1.299 GB, free: 11.59 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 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: 19.33832459599944] Failed to read output from testmodel.py, exit status != 0: 13.220775171008427 12.700184879 12.299343377 Calling exit ...