Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000912/0.000912, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009385/0.0009385, allocations: 177.3 kB / 23.49 MB, free: 1.059 MB / 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 0.9996/0.9996, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002489/0.002489, allocations: 230.2 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7414/0.7414, allocations: 138.4 MB / 455.4 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.407e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002231/0.002255, allocations: 1.529 MB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003404, allocations: 1.254 MB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.003466, allocations: 0 / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.003677, allocations: 27.78 kB / 0.5578 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.003871, allocations: 39.78 kB / 0.5578 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.004005, allocations: 63.78 kB / 0.5579 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004169, allocations: 151.5 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.004315, allocations: 33.28 kB / 0.558 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.004419, allocations: 107.8 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.004526, allocations: 47.81 kB / 0.5582 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.004553, allocations: 12 kB / 0.5582 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.00461, allocations: 24 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.004674, allocations: 47.89 kB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.004734, allocations: 51.81 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.00495, allocations: 187.3 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004952, allocations: 3.938 kB / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004953, allocations: 0 / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.004958, allocations: 0 / 0.5585 GB, free: 13.29 MB / 490.7 MB 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.0005248/0.005483, allocations: 0.5114 MB / 0.559 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.00552, allocations: 8.75 kB / 0.559 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.005587, allocations: 20.84 kB / 0.559 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.005824, allocations: 212.7 kB / 0.5592 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.005952, allocations: 222.2 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.005974, allocations: 8.375 kB / 0.5594 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.006174, allocations: 189 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006182, allocations: 192 / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.006199, allocations: 4.125 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.006233, allocations: 15.98 kB / 0.5596 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.006272, allocations: 15.98 kB / 0.5597 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.006865, allocations: 427.3 kB / 0.5601 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.006921, allocations: 35.05 kB / 0.5601 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.006951, allocations: 19.67 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.006975, allocations: 4 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.006999, allocations: 37.33 kB / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.007, allocations: 0 / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002028/0.007203, allocations: 85.58 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.007231, allocations: 51.41 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.007396, allocations: 254.8 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.007417, allocations: 33.7 kB / 0.5606 GB, free: 10.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.00749, allocations: 174.9 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.007513, allocations: 27.75 kB / 0.5608 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.007552, allocations: 39.36 kB / 0.5608 GB, free: 10.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.007682, allocations: 0.5078 MB / 0.5613 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.007711, allocations: 11.98 kB / 0.5613 GB, free: 10.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.007787, allocations: 120.1 kB / 0.5614 GB, free: 9.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.007898, allocations: 148.1 kB / 0.5616 GB, free: 9.777 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.007901, allocations: 0 / 0.5616 GB, free: 9.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001512/0.008052, allocations: 129.3 kB / 0.5617 GB, free: 9.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008065, allocations: 4 kB / 0.5617 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.008072, allocations: 4 kB / 0.5617 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.008085, allocations: 4 kB / 0.5617 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.008164, allocations: 23.98 kB / 0.5617 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.008173, allocations: 7.938 kB / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.008352, allocations: 11.95 kB / 0.5617 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.008361, allocations: 4.375 kB / 0.5617 GB, free: 9.586 MB / 490.7 MB 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 7.868e-05/0.00844, allocations: 172.5 kB / 0.5619 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.008474, allocations: 19.91 kB / 0.5619 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.008622, allocations: 107.6 kB / 0.562 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.008625, allocations: 4 kB / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.008629, allocations: 0 / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008632, allocations: 0 / 0.562 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.008773, allocations: 168.5 kB / 0.5622 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.008775, allocations: 4 kB / 0.5622 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.008806, allocations: 15.98 kB / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008808, allocations: 0 / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.008819, allocations: 15.98 kB / 0.5622 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008821, allocations: 80 / 0.5622 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.008824, allocations: 3.984 kB / 0.5622 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.008967, allocations: 231.7 kB / 0.5624 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.008984, allocations: 23.77 kB / 0.5625 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.008996, allocations: 0 / 0.5625 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.263e-05/0.009089, allocations: 11.98 kB / 0.5625 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.009108, allocations: 8 kB / 0.5625 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.009125, allocations: 11.97 kB / 0.5625 GB, free: 8.734 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.009218, allocations: 185.4 kB / 0.5627 GB, free: 8.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009218, allocations: 4 kB / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.009424, allocations: 28 kB / 0.5627 GB, free: 8.523 MB / 490.7 MB 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.0002116/0.009636, allocations: 113.4 kB / 0.5628 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009756, allocations: 67.52 kB / 0.5629 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009758, allocations: 0 / 0.5629 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.009783, allocations: 27.61 kB / 0.5629 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01002, allocations: 39.81 kB / 0.5629 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.01038, allocations: 258.8 kB / 0.5632 GB, free: 7.988 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.01043, allocations: 84.06 kB / 0.5633 GB, free: 7.887 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.0105, allocations: 40.89 kB / 0.5633 GB, free: 7.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.01054, allocations: 24.48 kB / 0.5633 GB, free: 7.824 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01055, allocations: 0 / 0.5633 GB, free: 7.824 MB / 490.7 MB Notification: Performance of Templates: time 0.004056/0.0146, allocations: 2.465 MB / 0.5657 GB, free: 5.391 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7698412800673395]