Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009713/0.0009713, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001029/0.001029, allocations: 173 kB / 23.36 MB, free: 1.133 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.9512/0.9512, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001677/0.001677, allocations: 242.2 kB / 260.5 MB, free: 12.7 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.7398/0.7398, allocations: 138.4 MB / 402.2 MB, free: 0.5078 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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.502e-05, allocations: 6.156 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002037/0.002052, allocations: 1.5 MB / 463.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.002779, allocations: 496.1 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.002818, allocations: 0 / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.375e-05/0.002892, allocations: 9.734 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.002954, allocations: 16.95 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.003612, allocations: 222.1 kB / 464.5 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.003814, allocations: 152.8 kB / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.003852, allocations: 3.422 kB / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.003949, allocations: 79.98 kB / 464.8 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.004017, allocations: 36.23 kB / 464.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.004044, allocations: 10.09 kB / 464.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.004377, allocations: 202.4 kB / 465 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.004432, allocations: 38.34 kB / 465.1 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.004488, allocations: 35.22 kB / 465.1 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.004822, allocations: 253.8 kB / 465.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004824, allocations: 0.75 kB / 465.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004825, allocations: 1.375 kB / 465.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004829, allocations: 1.406 kB / 465.3 MB, free: 15.28 MB / 426.7 MB 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.0004321/0.005261, allocations: 347 kB / 465.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.005297, allocations: 10.03 kB / 465.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.005338, allocations: 14.36 kB / 465.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.005494, allocations: 146.5 kB / 465.8 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005508, allocations: 5.875 kB / 465.9 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.005529, allocations: 14 kB / 465.9 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.005622, allocations: 69.59 kB / 465.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005631, allocations: 3.438 kB / 465.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.005639, allocations: 1.438 kB / 465.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005646, allocations: 3.109 kB / 465.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.005687, allocations: 25.56 kB / 466 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.005818, allocations: 99.39 kB / 466.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.005887, allocations: 54.28 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.005923, allocations: 28.62 kB / 466.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.005932, allocations: 2.562 kB / 466.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.006055, allocations: 94.08 kB / 466.2 MB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.006056, allocations: 0 / 466.2 MB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001511/0.006207, allocations: 93.56 kB / 466.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.006254, allocations: 90.83 kB / 466.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.006336, allocations: 141.5 kB / 466.6 MB, free: 14.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.006359, allocations: 36.03 kB / 466.6 MB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.006395, allocations: 94.48 kB / 466.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.006438, allocations: 42.34 kB / 466.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.006493, allocations: 47 kB / 466.8 MB, free: 14.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.006574, allocations: 331.3 kB / 467.1 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.006595, allocations: 14.78 kB / 467.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.006797, allocations: 0.5392 MB / 467.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.006865, allocations: 70.25 kB / 467.7 MB, free: 12.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006867, allocations: 0 / 467.7 MB, free: 12.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.862e-05/0.006966, allocations: 97.17 kB / 467.8 MB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.006977, allocations: 11.88 kB / 467.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.006992, allocations: 0 / 467.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007002, allocations: 4.656 kB / 467.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.007062, allocations: 20.86 kB / 467.8 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007065, allocations: 5.469 kB / 467.9 MB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.00716, allocations: 37.28 kB / 467.9 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.007166, allocations: 0 / 467.9 MB, free: 12.74 MB / 426.7 MB 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 7.219e-05/0.007239, allocations: 131.8 kB / 468 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.007249, allocations: 8 kB / 468 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.007274, allocations: 20.77 kB / 468 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007276, allocations: 2 kB / 468 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007279, allocations: 1.875 kB / 468.1 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.007284, allocations: 3.938 kB / 468.1 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.988e-05/0.007354, allocations: 89.81 kB / 468.1 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007355, allocations: 0 / 468.1 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.00737, allocations: 5.281 kB / 468.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007373, allocations: 4 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.007378, allocations: 3.984 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007379, allocations: 0 / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00738, allocations: 0.9375 kB / 468.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.007478, allocations: 119.4 kB / 468.3 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.007487, allocations: 12.58 kB / 468.3 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.007501, allocations: 0 / 468.3 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.00752, allocations: 8.953 kB / 468.3 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.007552, allocations: 8 kB / 468.3 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007557, allocations: 1.188 kB / 468.3 MB, free: 12.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.007581, allocations: 35.38 kB / 468.3 MB, free: 12.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007581, allocations: 1.469 kB / 468.3 MB, free: 12.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.007767, allocations: 79.75 kB / 468.4 MB, free: 12.18 MB / 426.7 MB 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.0001624/0.007929, allocations: 157.1 kB / 468.6 MB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.008056, allocations: 120.2 kB / 468.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.008059, allocations: 0.5 kB / 468.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.008087, allocations: 30.7 kB / 468.7 MB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.849e-05/0.008156, allocations: 5.094 kB / 468.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.008403, allocations: 200.4 kB / 468.9 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.008445, allocations: 75.33 kB / 469 MB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.709e-05/0.008482, allocations: 8.328 kB / 469 MB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.008557, allocations: 75.36 kB / 469.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008558, allocations: 0.9062 kB / 469.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.004157/0.01271, allocations: 2.876 MB / 472 MB, free: 8.863 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4670938719063997]