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.001334/0.001334, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001376/0.001376, allocations: 211 kB / 20.13 MB, free: 2.969 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.776/2.776, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] 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.002038/0.002038, allocations: 71.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.9665, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003244/0.9697, allocations: 1.528 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.9715, allocations: 1.146 MB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.9715, allocations: 4.781 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.9717, allocations: 18.61 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.9719, allocations: 43.61 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.9721, allocations: 60.98 kB / 1.282 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.9724, allocations: 147.9 kB / 1.282 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.9726, allocations: 56.08 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.9728, allocations: 76.8 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.973, allocations: 59.19 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.973, allocations: 11.25 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.9731, allocations: 28.97 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.9732, allocations: 53.62 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.9733, allocations: 74.91 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.9736, allocations: 196.1 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.9737, allocations: 0 / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9737, allocations: 4 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.9737, allocations: 1.625 kB / 1.282 GB, free: 9.48 MB / 0.9981 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.0008031/0.9745, allocations: 0.4904 MB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.9745, allocations: 9.344 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.9745, allocations: 1.5 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.9746, allocations: 41.08 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.9746, allocations: 17.59 kB / 1.283 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.975, allocations: 265.8 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.9752, allocations: 124.9 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.9752, allocations: 7.281 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.9756, allocations: 153.2 kB / 1.283 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9756, allocations: 0 / 1.283 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.9756, allocations: 10.06 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.9756, allocations: 9.406 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.9757, allocations: 46.39 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.9769, allocations: 460.9 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.9769, allocations: 35.14 kB / 1.284 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.977, allocations: 29.03 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.977, allocations: 4.156 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9771, allocations: 33.7 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.9771, allocations: 0 / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002928/0.9773, allocations: 112 kB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.9774, allocations: 55.34 kB / 1.284 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.9776, allocations: 214 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.9777, allocations: 27.3 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.9778, allocations: 128.9 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.9778, allocations: 29.5 kB / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.9779, allocations: 31.67 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.978, allocations: 324.4 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.9781, allocations: 27.48 kB / 1.285 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.9782, allocations: 103.2 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.9784, allocations: 140.5 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9784, allocations: 1.375 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002514/0.9786, allocations: 153.8 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9786, allocations: 8.312 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9786, allocations: 2.656 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9787, allocations: 4.312 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9788, allocations: 29.56 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9788, allocations: 5.641 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.9789, allocations: 16.64 kB / 1.285 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.9789, allocations: 5.906 kB / 1.285 GB, free: 6.992 MB / 0.9981 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.0001387/0.979, allocations: 143.9 kB / 1.285 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.9791, allocations: 19.52 kB / 1.286 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.9793, allocations: 109.5 kB / 1.286 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9793, allocations: 6.094 kB / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9793, allocations: 0 / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9793, allocations: 0.8906 kB / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.9796, allocations: 241.2 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.9796, allocations: 0 / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.9796, allocations: 13.81 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9796, allocations: 1.344 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.9796, allocations: 1.766 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.9797, allocations: 3.938 kB / 1.286 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9797, allocations: 1.812 kB / 1.286 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.9799, allocations: 192.2 kB / 1.286 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.9799, allocations: 93.67 kB / 1.286 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.98, allocations: 1.766 kB / 1.286 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.9802, allocations: 29.28 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.9803, allocations: 4.828 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.9803, allocations: 11.55 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001618/0.9804, allocations: 167.7 kB / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9804, allocations: 0 / 1.286 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003089/0.9808, allocations: 29.06 kB / 1.286 GB, free: 6.176 MB / 0.9981 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.000698/0.9815, allocations: 0.756 MB / 1.287 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.9816, allocations: 80.92 kB / 1.287 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9816, allocations: 3.938 kB / 1.287 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.9817, allocations: 22.42 kB / 1.287 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.982, allocations: 18.47 kB / 1.287 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.9842, allocations: 1.934 MB / 1.289 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.9846, allocations: 0.7299 MB / 1.29 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.9847, allocations: 54.11 kB / 1.29 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.9848, allocations: 46.06 kB / 1.29 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.9848, allocations: 0 / 1.29 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/1.008, allocations: 4.284 MB / 1.294 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.59, allocations: 11.48 kB / 1.294 GB, free: 2.473 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.919450810994022] Failed to read output from testmodel.py, exit status != 0: 9.720023525995202 9.74424408 8.766443678 Calling exit ...