Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.4 MB / 298 MB, free: 6.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 184.8 kB / 366.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008297/0.0008295, allocations: 95.27 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.379e-05/5.405e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7312, allocations: 115.3 MB / 0.9709 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.9287, allocations: 138.3 MB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.929, allocations: 71.95 kB / 1.106 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.9401, allocations: 3.917 MB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9402, allocations: 0 / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9402, allocations: 4 kB / 1.11 GB, free: 9.605 MB / 0.7136 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.0005028/0.9407, allocations: 415.3 kB / 1.11 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9407, allocations: 11.97 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.9408, allocations: 15.81 kB / 1.11 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.9411, allocations: 218.8 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.9411, allocations: 12 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.9412, allocations: 8 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.9414, allocations: 93.12 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9414, allocations: 0 / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.9414, allocations: 0 / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9414, allocations: 0 / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.9415, allocations: 47.89 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.9418, allocations: 246.5 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.9419, allocations: 77.25 kB / 1.111 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.942, allocations: 61.8 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.9421, allocations: 3.938 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.9423, allocations: 109.1 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.9423, allocations: 0.6562 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003566/0.9426, allocations: 169.5 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.9427, allocations: 81.11 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.9429, allocations: 143.4 kB / 1.111 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.9429, allocations: 33.7 kB / 1.111 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.943, allocations: 104.6 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.943, allocations: 39.48 kB / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.9431, allocations: 6.531 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9432, allocations: 326.8 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.9433, allocations: 48.17 kB / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.9435, allocations: 210.8 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.9436, allocations: 61.77 kB / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.9436, allocations: 0 / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002474/0.9439, allocations: 174.6 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9439, allocations: 4 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.9439, allocations: 8 kB / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.944, allocations: 0 / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.944, allocations: 11.98 kB / 1.112 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9441, allocations: 3.953 kB / 1.112 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.9443, allocations: 87.84 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.9444, allocations: 10.56 kB / 1.113 GB, free: 6.527 MB / 0.7136 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.9445, allocations: 120.9 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.9445, allocations: 15.81 kB / 1.113 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.9445, allocations: 16.61 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9445, allocations: 0 / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9446, allocations: 0 / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.9446, allocations: 7.953 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.9447, allocations: 193.6 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9447, allocations: 0 / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.9448, allocations: 8 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.9448, allocations: 0 / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.9448, allocations: 3.984 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9448, allocations: 4 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9448, allocations: 4 kB / 1.113 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.9451, allocations: 214.6 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.9451, allocations: 85.11 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.9452, allocations: 7.938 kB / 1.113 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.9452, allocations: 7.984 kB / 1.113 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.9453, allocations: 15.94 kB / 1.113 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.9453, allocations: 4 kB / 1.113 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.868e-05/0.9454, allocations: 112.8 kB / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9454, allocations: 0 / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003543/0.9458, allocations: 83.92 kB / 1.113 GB, free: 5.543 MB / 0.7136 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) * 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 (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.0002633/0.946, allocations: 171.1 kB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.9463, allocations: 163.3 kB / 1.114 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9463, allocations: 4 kB / 1.114 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.9464, allocations: 47.92 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.9465, allocations: 6.75 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.9468, allocations: 159.1 kB / 1.114 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.9471, allocations: 0.7043 MB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.998e-05/0.9472, allocations: 8.672 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.9472, allocations: 15.44 kB / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9472, allocations: 0 / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.004825/0.952, allocations: 2.312 MB / 1.117 GB, free: 1.98 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)