Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.000984/0.000984, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001003/0.001003, allocations: 161 kB / 24.16 MB, free: 332 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 0.9745/0.9745, 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 2.013/2.013, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 4 kB / 0.7751 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.846e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002696/0.002725, allocations: 1.512 MB / 0.7766 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.003459, allocations: 486.9 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.003495, allocations: 0 / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.003588, allocations: 10.92 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.003661, allocations: 11.98 kB / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.004389, allocations: 224.9 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004591, allocations: 146.3 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.004639, allocations: 6.75 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004741, allocations: 79.88 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.004822, allocations: 35.89 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.004848, allocations: 8 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.005156, allocations: 207.6 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.005213, allocations: 39.89 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.005264, allocations: 37.89 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.005547, allocations: 243.4 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.005551, allocations: 0 / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005553, allocations: 0 / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.005559, allocations: 0 / 0.7781 GB, free: 2.414 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004385/0.005998, allocations: 353 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.006038, allocations: 9.344 kB / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.006075, allocations: 17.77 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006239, allocations: 156.4 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.006251, allocations: 4.969 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.006267, allocations: 12.91 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.006355, allocations: 58.78 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006363, allocations: 1.125 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.00637, allocations: 384 / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.006376, allocations: 0.9688 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.006409, allocations: 29.52 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.006525, allocations: 96.36 kB / 0.7788 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.006598, allocations: 61.31 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.006628, allocations: 27.23 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.006635, allocations: 0 / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.006764, allocations: 99.88 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.006765, allocations: 0.6562 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000146/0.006911, allocations: 83.95 kB / 0.7791 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.006968, allocations: 97.03 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.007057, allocations: 136.4 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.007079, allocations: 33.7 kB / 0.7793 GB, free: 1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.007116, allocations: 96.48 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.007154, allocations: 35.69 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.007213, allocations: 53.67 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.007308, allocations: 331.5 kB / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.007328, allocations: 14.77 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.007574, allocations: 0.5351 MB / 0.7803 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.007649, allocations: 71.95 kB / 0.7804 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007652, allocations: 0 / 0.7804 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.617e-05/0.007748, allocations: 99.98 kB / 0.7805 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.007762, allocations: 4 kB / 0.7805 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.007782, allocations: 5 kB / 0.7805 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007795, allocations: 0 / 0.7805 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.00787, allocations: 23.92 kB / 0.7805 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007875, allocations: 4.812 kB / 0.7805 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.007979, allocations: 41.17 kB / 0.7806 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007987, allocations: 8 kB / 0.7806 GB, free: 15.51 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.671e-05/0.008073, allocations: 126.4 kB / 0.7807 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.008086, allocations: 7.984 kB / 0.7807 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.008111, allocations: 12.78 kB / 0.7807 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008114, allocations: 0.6562 kB / 0.7807 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.008116, allocations: 0 / 0.7807 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.008123, allocations: 12.81 kB / 0.7807 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.842e-05/0.008202, allocations: 85.81 kB / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008204, allocations: 0 / 0.7808 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.008228, allocations: 12.52 kB / 0.7808 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00823, allocations: 1.125 kB / 0.7808 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.008236, allocations: 0 / 0.7808 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008237, allocations: 0 / 0.7808 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008238, allocations: 4.812 kB / 0.7808 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.484e-05/0.008333, allocations: 106.3 kB / 0.7809 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.008347, allocations: 11.91 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.008362, allocations: 12.88 kB / 0.781 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.008386, allocations: 3.984 kB / 0.781 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.008414, allocations: 9.047 kB / 0.781 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.00842, allocations: 4 kB / 0.781 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.008446, allocations: 29.52 kB / 0.781 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008446, allocations: 0.875 kB / 0.781 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000195/0.008641, allocations: 71.81 kB / 0.7811 GB, free: 14.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002204/0.008861, allocations: 167.5 kB / 0.7812 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.009012, allocations: 117.2 kB / 0.7814 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.009016, allocations: 0 / 0.7814 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.009045, allocations: 24.8 kB / 0.7814 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.863e-05/0.009143, allocations: 21.72 kB / 0.7814 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.009458, allocations: 206.5 kB / 0.7816 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.009496, allocations: 67.33 kB / 0.7817 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.009538, allocations: 9.828 kB / 0.7817 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.009622, allocations: 79.34 kB / 0.7817 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009622, allocations: 1.438 kB / 0.7817 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.004799/0.01442, allocations: 2.873 MB / 0.7846 GB, free: 11.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1098546190187335]