Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000975/0.000975, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001009/0.001009, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.856/1.856, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7751 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.275e-05, allocations: 6.359 kB / 0.7751 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002078/0.002101, allocations: 1.549 MB / 0.7766 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003231, allocations: 1.262 MB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.003288, allocations: 4 kB / 0.7779 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.003459, allocations: 20.5 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.003632, allocations: 47.77 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.003753, allocations: 50.36 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.003907, allocations: 147.7 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.004013, allocations: 45.86 kB / 0.7782 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.004114, allocations: 110.7 kB / 0.7783 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.004226, allocations: 39.89 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.004254, allocations: 12 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.004308, allocations: 27.98 kB / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.004369, allocations: 47.83 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.004414, allocations: 43.89 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.0046, allocations: 191.3 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004601, allocations: 0 / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004602, allocations: 0.6562 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.004605, allocations: 0 / 0.7786 GB, free: 1.914 MB / 0.7292 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.0004171/0.005022, allocations: 392.6 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.005055, allocations: 16.66 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.005093, allocations: 12.92 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.005331, allocations: 183 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.005449, allocations: 222.2 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.005472, allocations: 12.38 kB / 0.7794 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.005646, allocations: 196.5 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.005652, allocations: 192 / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.005666, allocations: 7.562 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.00569, allocations: 12 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.005713, allocations: 11.98 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.006119, allocations: 273.6 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.00616, allocations: 26.45 kB / 0.7799 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.006181, allocations: 21.88 kB / 0.78 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.006198, allocations: 4 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.006217, allocations: 34.56 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.006218, allocations: 0.5312 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001163/0.006335, allocations: 62.2 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.006361, allocations: 52.41 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.006466, allocations: 191.7 kB / 0.7803 GB, free: 28 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.006498, allocations: 29.7 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.00654, allocations: 108.5 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.006559, allocations: 32.36 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.006591, allocations: 29.7 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.006671, allocations: 328.4 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.006688, allocations: 15.92 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.006734, allocations: 78.28 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/0.006825, allocations: 108.4 kB / 0.781 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006827, allocations: 5.531 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.927e-05/0.006927, allocations: 99.09 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.006936, allocations: 4.562 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.006942, allocations: 7.984 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006955, allocations: 4.781 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.007015, allocations: 23.94 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.007023, allocations: 9.078 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.007061, allocations: 7.938 kB / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.007069, allocations: 8 kB / 0.7811 GB, free: 15.05 MB / 0.7448 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 6.533e-05/0.007135, allocations: 122.1 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.007158, allocations: 19.86 kB / 0.7813 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007278, allocations: 87.22 kB / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.00728, allocations: 1.094 kB / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007281, allocations: 0 / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007284, allocations: 0 / 0.7814 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.007385, allocations: 102.8 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.007387, allocations: 4 kB / 0.7815 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.007411, allocations: 11.98 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.007415, allocations: 8.438 kB / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.007419, allocations: 0.7812 kB / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.007419, allocations: 0 / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00742, allocations: 1 kB / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.245e-05/0.007502, allocations: 159.5 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.007516, allocations: 19.83 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.007526, allocations: 1 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.007606, allocations: 11.98 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.007617, allocations: 5.125 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.007631, allocations: 7.984 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.007671, allocations: 55.09 kB / 0.7817 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007671, allocations: 0.9062 kB / 0.7817 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001725/0.007844, allocations: 31.89 kB / 0.7818 GB, free: 14.37 MB / 0.7448 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.0001737/0.008017, allocations: 111.7 kB / 0.7819 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.008098, allocations: 50.08 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.008102, allocations: 4 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.00812, allocations: 26.31 kB / 0.7819 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008276, allocations: 16.61 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.008618, allocations: 269.2 kB / 0.7822 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.008659, allocations: 75.33 kB / 0.7823 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.276e-05/0.008711, allocations: 28.91 kB / 0.7823 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.008887, allocations: 116.8 kB / 0.7824 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.008888, allocations: 3.938 kB / 0.7824 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.005005/0.01389, allocations: 2.71 MB / 0.7851 GB, free: 11.09 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.987778565846384]