Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009976/0.0009977, allocations: 184.1 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 88.53 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004363, allocations: 13.41 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002028/0.2586, allocations: 1.152 MB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.2594, allocations: 395.2 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.2596, allocations: 0 / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.56e-05/0.2596, allocations: 11.86 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2598, allocations: 15.92 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.2606, allocations: 188.4 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.2609, allocations: 259.6 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.261, allocations: 8.219 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.2612, allocations: 139.7 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2615, allocations: 123.7 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.2615, allocations: 16 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2617, allocations: 43.98 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.2618, allocations: 43.88 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2619, allocations: 61.64 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.2622, allocations: 187.6 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2622, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.577e-06/0.2622, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2622, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001171/0.2634, allocations: 0.5217 MB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2635, allocations: 8.031 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2636, allocations: 27.81 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.264, allocations: 255.2 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.264, allocations: 15.98 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.2641, allocations: 31.94 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.2646, allocations: 255.1 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2646, allocations: 7.891 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.2646, allocations: 11.98 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2646, allocations: 4 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.2649, allocations: 103.9 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.2653, allocations: 375.9 kB / 0.9049 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2657, allocations: 238.7 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.2659, allocations: 131.5 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.266, allocations: 0 / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.2665, allocations: 284.2 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.344e-06/0.2665, allocations: 4 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001038/0.2676, allocations: 0.5214 MB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2676, allocations: 148.4 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2677, allocations: 152.1 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.2678, allocations: 45.7 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.2679, allocations: 112.5 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.2679, allocations: 59.19 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.268, allocations: 12 kB / 0.9066 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.268, allocations: 335.1 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.2683, allocations: 179.9 kB / 0.9071 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2685, allocations: 219.2 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.2688, allocations: 219.3 kB / 0.9075 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2688, allocations: 4 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008451/0.2697, allocations: 0.7337 MB / 0.9082 GB, free: 56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.2697, allocations: 95.31 kB / 0.9083 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2698, allocations: 0 / 0.9083 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2698, allocations: 4 kB / 0.9083 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2699, allocations: 15.92 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2699, allocations: 4 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.2703, allocations: 83.83 kB / 0.9084 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.2704, allocations: 19.98 kB / 0.9084 GB, free: 55.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.2706, allocations: 156.4 kB / 0.9086 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.2707, allocations: 23.73 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.2707, allocations: 20.67 kB / 0.9086 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2707, allocations: 8 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2707, allocations: 4 kB / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2707, allocations: 3.984 kB / 0.9086 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2709, allocations: 265.3 kB / 0.9089 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2709, allocations: 4 kB / 0.9089 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.271, allocations: 11.98 kB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.271, allocations: 7.938 kB / 0.9089 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.271, allocations: 7.984 kB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.271, allocations: 3.953 kB / 0.9089 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2711, allocations: 4 kB / 0.9089 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.2718, allocations: 471 kB / 0.9094 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.2718, allocations: 96.86 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.2719, allocations: 19.98 kB / 0.9095 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.272, allocations: 15.98 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.2721, allocations: 27.92 kB / 0.9095 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.2721, allocations: 23.97 kB / 0.9095 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.2722, allocations: 107.2 kB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2722, allocations: 0 / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003249/0.2726, allocations: 79.98 kB / 0.9097 GB, free: 54.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.2728, allocations: 143.9 kB / 0.9098 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008154/0.2736, allocations: 0.6977 MB / 0.9105 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2736, allocations: 0 / 0.9105 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.2739, allocations: 167.8 kB / 0.9107 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2741, allocations: 23.91 kB / 0.9107 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.2749, allocations: 435.2 kB / 0.9111 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2751, allocations: 0.7207 MB / 0.9118 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.2751, allocations: 19.42 kB / 0.9118 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of SimCode: time 4.4e-07/0.2751, allocations: 0 / 0.9118 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.005334/0.2805, allocations: 3.081 MB / 0.9149 GB, free: 48.99 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)