Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.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.001321/0.001321, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001468/0.001468, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") [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.003317/0.003317, allocations: 71.47 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4039, allocations: 181.9 MB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002708/0.4066, allocations: 1.385 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.4068, allocations: 31.84 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.4068, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.407, allocations: 15.92 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4071, allocations: 11.92 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.4071, allocations: 0 / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.4071, allocations: 15.88 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.4072, allocations: 7.984 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.4072, allocations: 8 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.4073, allocations: 7.922 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4073, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.4073, allocations: 15.98 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.4074, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.4074, allocations: 3.938 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.4075, allocations: 31.84 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4075, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4075, allocations: 3.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4075, allocations: 0 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000349/0.4078, allocations: 263.9 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4079, allocations: 12.03 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.4079, allocations: 8.875 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.4081, allocations: 114.5 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.4081, allocations: 384 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4081, allocations: 384 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.4082, allocations: 30.27 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4082, allocations: 192 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4082, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.4082, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.4082, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4084, allocations: 105.3 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.85e-05/0.4084, allocations: 26.55 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.4084, allocations: 8.859 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4085, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4085, allocations: 34.62 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.4085, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.4086, allocations: 37.62 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4087, allocations: 59.34 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.4088, allocations: 113.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4088, allocations: 25.7 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.4088, allocations: 88.27 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.4088, allocations: 7.953 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.4089, allocations: 13.7 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.409, allocations: 310.8 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.409, allocations: 4 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.4091, allocations: 4 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.4091, allocations: 12.86 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4091, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.196e-05/0.4091, allocations: 41.62 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4092, allocations: 4.094 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4092, allocations: 7.984 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4092, allocations: 7.938 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.4092, allocations: 3.938 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.4092, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.4092, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.4092, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 8.224e-05/0.4093, allocations: 109.8 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.4093, allocations: 3.953 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.4094, allocations: 45.16 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4094, allocations: 11.91 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4094, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4094, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.4095, allocations: 109.3 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4095, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.4095, allocations: 3.938 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4095, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.4096, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4096, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4096, allocations: 7.938 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.537e-05/0.4096, allocations: 61.12 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.4096, allocations: 7.984 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.4097, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.4097, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.4097, allocations: 7.938 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4097, allocations: 3.984 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.4097, allocations: 91.27 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4097, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001841/0.4099, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.0002141/0.4101, allocations: 113.6 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.4102, allocations: 11.94 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4102, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.4102, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.4104, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.4106, allocations: 101.6 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.4107, allocations: 71.95 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.4107, allocations: 15.91 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.4107, allocations: 7.438 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4107, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of Templates: time 0.002565/0.4133, allocations: 483 kB / 1.368 GB, free: 9.324 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.791090250015259] Failed to read output from testmodel.py, exit status != 0: 0.422947209328413 0.435635947 0.025064833 Calling exit ...