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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 108.8 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.286/3.286, allocations: 497.2 MB / 0.7811 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 72.12 kB / 1.134 GB, free: 33.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 173.9 MB / 1.304 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003459/0.3962, allocations: 1.486 MB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3981, allocations: 1.132 MB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3981, allocations: 7.938 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.3983, allocations: 15.84 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.3986, allocations: 43.78 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3988, allocations: 51.92 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.399, allocations: 147.6 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3992, allocations: 57.31 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3993, allocations: 79.7 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3995, allocations: 55.75 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.3996, allocations: 12 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.3997, allocations: 20 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.3998, allocations: 55.81 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.3999, allocations: 79.58 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.4002, allocations: 199.2 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4002, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4002, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4002, allocations: 0 / 1.307 GB, free: 13.99 MB / 1.014 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.0008688/0.4011, allocations: 0.4945 MB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4011, allocations: 8.922 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.467e-05/0.4012, allocations: 42.73 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.4013, allocations: 20.84 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.4017, allocations: 256.7 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.4019, allocations: 115.4 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.4019, allocations: 8.375 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.4023, allocations: 165.4 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4023, allocations: 0 / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.4023, allocations: 7.984 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.4023, allocations: 15.98 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.4024, allocations: 35.98 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4036, allocations: 464.4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.098e-05/0.4037, allocations: 34.58 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.4037, allocations: 24.78 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4038, allocations: 8 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4038, allocations: 30.56 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4038, allocations: 3.938 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.000304/0.4041, allocations: 109.7 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4041, allocations: 59.34 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4044, allocations: 212.8 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4044, allocations: 25.7 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4045, allocations: 128.1 kB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4046, allocations: 23.89 kB / 1.309 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.4046, allocations: 33.7 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4048, allocations: 326.8 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.4049, allocations: 27.91 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.405, allocations: 102.3 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4052, allocations: 142.1 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4052, allocations: 0 / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002565/0.4055, allocations: 153.3 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4055, allocations: 7.984 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4055, allocations: 4 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4055, allocations: 4.375 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4056, allocations: 24 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.4056, allocations: 19.86 kB / 1.31 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.4057, allocations: 11.89 kB / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4057, allocations: 4 kB / 1.31 GB, free: 10.55 MB / 1.014 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.0001364/0.4058, allocations: 141.8 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.4059, allocations: 15.91 kB / 1.31 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.4061, allocations: 127 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4061, allocations: 0 / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4061, allocations: 7.938 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4061, allocations: 7.922 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4064, allocations: 229.5 kB / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4064, allocations: 0 / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.4065, allocations: 15.98 kB / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4065, allocations: 0 / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4065, allocations: 4 kB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4065, allocations: 0 / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4065, allocations: 3.938 kB / 1.311 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.4067, allocations: 191.4 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.4068, allocations: 89.02 kB / 1.311 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4068, allocations: 3.984 kB / 1.311 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.407, allocations: 15.98 kB / 1.311 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.407, allocations: 11.92 kB / 1.311 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4071, allocations: 15.98 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001557/0.4072, allocations: 156.5 kB / 1.311 GB, free: 9.438 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4072, allocations: 0 / 1.311 GB, free: 9.438 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003007/0.4075, allocations: 35.94 kB / 1.311 GB, free: 9.402 MB / 1.014 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.0007295/0.4083, allocations: 0.7584 MB / 1.312 GB, free: 8.629 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4084, allocations: 64.45 kB / 1.312 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4084, allocations: 0 / 1.312 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.4085, allocations: 27.92 kB / 1.312 GB, free: 8.539 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.4088, allocations: 28.06 kB / 1.312 GB, free: 8.512 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.4111, allocations: 1.928 MB / 1.314 GB, free: 6.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.4115, allocations: 0.7353 MB / 1.315 GB, free: 5.668 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.4116, allocations: 52.84 kB / 1.315 GB, free: 5.617 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.4117, allocations: 47.41 kB / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.4117, allocations: 0 / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.4414, allocations: 4.245 MB / 1.319 GB, free: 1.453 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.095, allocations: 6.781 kB / 1.319 GB, free: 1.449 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 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: 15.792466534301639] Failed to read output from testmodel.py, exit status != 0: 9.164132718928158 9.18042576 8.776516154 Calling exit ...