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.001964/0.001964, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002611/0.002611, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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.78/1.78, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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 3.427/3.427, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003687/0.003687, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.094, allocations: 180 MB / 1.353 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003068/1.097, allocations: 1.423 MB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001042/1.098, allocations: 462.4 kB / 1.355 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/1.098, allocations: 4 kB / 1.355 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 7.849e-05/1.098, allocations: 3.938 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/1.098, allocations: 11.92 kB / 1.355 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/1.099, allocations: 246.9 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000249/1.099, allocations: 135.8 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/1.099, allocations: 8 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/1.099, allocations: 71.77 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/1.1, allocations: 39.89 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/1.1, allocations: 8 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/1.1, allocations: 183.8 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/1.1, allocations: 39.91 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/1.1, allocations: 43.78 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/1.1, allocations: 242.1 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.1, allocations: 0 / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.834e-06/1.1, allocations: 0 / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.1, allocations: 0 / 1.356 GB, free: 14.73 MB / 1.042 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.0006773/1.101, allocations: 377.5 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.101, allocations: 12.92 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/1.101, allocations: 12.89 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/1.102, allocations: 150.3 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.102, allocations: 8.312 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.102, allocations: 16.38 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/1.102, allocations: 83.94 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.102, allocations: 192 / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.102, allocations: 3.938 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.102, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/1.102, allocations: 47.91 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/1.102, allocations: 162.1 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.102, allocations: 73.25 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/1.102, allocations: 45.81 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/1.102, allocations: 7.922 kB / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/1.103, allocations: 105.1 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/1.103, allocations: 0 / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0003925/1.103, allocations: 193.4 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.103, allocations: 85.11 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/1.103, allocations: 159.1 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/1.103, allocations: 37.7 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/1.103, allocations: 100.5 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/1.103, allocations: 39.72 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/1.104, allocations: 49.7 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.104, allocations: 322.8 kB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/1.104, allocations: 39.98 kB / 1.358 GB, free: 12.44 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/1.105, allocations: 0.608 MB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/1.105, allocations: 89.7 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.105, allocations: 4 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002616/1.105, allocations: 161.4 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.105, allocations: 11.94 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/1.105, allocations: 4 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.105, allocations: 0 / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/1.105, allocations: 19.92 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.105, allocations: 0 / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/1.105, allocations: 71.8 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/1.105, allocations: 8 kB / 1.359 GB, free: 11.3 MB / 1.042 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 0.0001476/1.106, allocations: 138.3 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/1.106, allocations: 15.84 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/1.106, allocations: 12.72 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.106, allocations: 0 / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.106, allocations: 7.938 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.106, allocations: 4 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/1.106, allocations: 133.3 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/1.106, allocations: 0 / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/1.106, allocations: 11.92 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.106, allocations: 3.938 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.106, allocations: 7.938 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.106, allocations: 0 / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.106, allocations: 0.625 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/1.106, allocations: 184.7 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/1.106, allocations: 11.89 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/1.106, allocations: 7.938 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/1.106, allocations: 11.98 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/1.106, allocations: 8.078 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.106, allocations: 0 / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001029/1.106, allocations: 117.1 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/1.106, allocations: 0 / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003354/1.107, allocations: 75.86 kB / 1.359 GB, free: 10.5 MB / 1.042 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.0002979/1.107, allocations: 165.1 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002987/1.107, allocations: 159.4 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.107, allocations: 3.938 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/1.107, allocations: 43.97 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/1.108, allocations: 8 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/1.108, allocations: 231.3 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/1.108, allocations: 88.98 kB / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.847e-05/1.108, allocations: 4.672 kB / 1.36 GB, free: 9.742 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/1.108, allocations: 19.42 kB / 1.36 GB, free: 9.723 MB / 1.042 GB Notification: Performance of SimCode: time 5.11e-07/1.108, allocations: 0 / 1.36 GB, free: 9.723 MB / 1.042 GB Notification: Performance of Templates: time 0.006721/1.115, allocations: 2.76 MB / 1.363 GB, free: 7.023 MB / 1.042 GB " [Timeout remaining time 299] 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.779172896407545]