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.0008032/0.0008032, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001905, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008076/0.0008076, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002167, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09328/1.106, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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 1.86/1.86, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6024/2.463, allocations: 127.1 MB / 0.7432 GB, free: 4.617 MB / 0.7136 GB " [Timeout remaining time 178] 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 3.747e-06/3.747e-06, allocations: 3.984 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/3.024e-05, allocations: 3.078 kB / 0.7444 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003081/0.003111, allocations: 1.505 MB / 0.7459 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.003913, allocations: 482.2 kB / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.003951, allocations: 0 / 0.7464 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.004015, allocations: 9.766 kB / 0.7464 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.004085, allocations: 16.8 kB / 0.7464 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.004814, allocations: 229.8 kB / 0.7466 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.005066, allocations: 144.1 kB / 0.7468 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.00512, allocations: 7.922 kB / 0.7468 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005274, allocations: 87.11 kB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.005365, allocations: 40.52 kB / 0.7469 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.005397, allocations: 12 kB / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.005782, allocations: 195.7 kB / 0.7471 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.005843, allocations: 27.92 kB / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.005901, allocations: 23.94 kB / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.006264, allocations: 203.5 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.79e-05/0.006282, allocations: 0 / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006283, allocations: 2.062 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.006303, allocations: 4 kB / 0.7473 GB, free: 456 kB / 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.0006107/0.006914, allocations: 387.7 kB / 0.7477 GB, free: 40 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006953, allocations: 8.031 kB / 0.7477 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.007004, allocations: 12.92 kB / 0.7477 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.007216, allocations: 140.2 kB / 0.7479 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.007235, allocations: 19.58 kB / 0.7479 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.007261, allocations: 8.375 kB / 0.7479 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.007379, allocations: 66.77 kB / 0.7479 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007388, allocations: 192 / 0.7479 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.007398, allocations: 4.312 kB / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.007405, allocations: 384 / 0.7479 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.007455, allocations: 21.58 kB / 0.748 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.007614, allocations: 95.5 kB / 0.7481 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.007702, allocations: 57.61 kB / 0.7481 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.00774, allocations: 22.69 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.007749, allocations: 4 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.007912, allocations: 88.62 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.007914, allocations: 0.5312 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000199/0.008113, allocations: 103.2 kB / 0.7483 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.008177, allocations: 85.67 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.008283, allocations: 144.1 kB / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.008318, allocations: 33.7 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.008365, allocations: 92.5 kB / 0.7487 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.008418, allocations: 43.66 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.008497, allocations: 46.66 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008608, allocations: 330.7 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.008643, allocations: 14.81 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.008955, allocations: 0.5467 MB / 0.7496 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/0.009044, allocations: 59.27 kB / 0.7497 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009047, allocations: 4.594 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001533/0.0092, allocations: 103.8 kB / 0.7498 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.009215, allocations: 4 kB / 0.7498 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.009238, allocations: 4.562 kB / 0.7498 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.009248, allocations: 1.531 kB / 0.7498 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.009351, allocations: 19.98 kB / 0.7498 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.009358, allocations: 7.938 kB / 0.7498 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.009513, allocations: 41.52 kB / 0.7498 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.009524, allocations: 4 kB / 0.7498 GB, free: 13.52 MB / 0.7292 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 9.844e-05/0.009623, allocations: 126 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.009643, allocations: 11.98 kB / 0.75 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.009671, allocations: 12.78 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.009673, allocations: 0.75 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.009677, allocations: 4 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.009687, allocations: 9.641 kB / 0.75 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.009788, allocations: 85.8 kB / 0.7501 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009791, allocations: 0 / 0.7501 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.009827, allocations: 8 kB / 0.7501 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.009841, allocations: 11.91 kB / 0.7501 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.009844, allocations: 2.75 kB / 0.7501 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.009854, allocations: 8 kB / 0.7501 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.009856, allocations: 0 / 0.7501 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009857, allocations: 0 / 0.7501 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.009991, allocations: 120.6 kB / 0.7502 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01001, allocations: 0 / 0.7502 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.01005, allocations: 8 kB / 0.7502 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.01008, allocations: 7.328 kB / 0.7502 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01009, allocations: 4 kB / 0.7503 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.01012, allocations: 22.39 kB / 0.7503 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01012, allocations: 0 / 0.7503 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002765/0.0104, allocations: 83.8 kB / 0.7504 GB, free: 12.96 MB / 0.7292 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.0002363/0.01063, allocations: 164.2 kB / 0.7505 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.01083, allocations: 120.2 kB / 0.7506 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.01084, allocations: 1.531 kB / 0.7506 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.01088, allocations: 28.78 kB / 0.7507 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.245e-05/0.01097, allocations: 13.55 kB / 0.7507 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01149, allocations: 213 kB / 0.7509 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.01155, allocations: 71.33 kB / 0.7509 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01158, allocations: 4.734 kB / 0.7509 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.0117, allocations: 76.02 kB / 0.751 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.0117, allocations: 1.125 kB / 0.751 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.006583/0.01828, allocations: 3.128 MB / 0.7541 GB, free: 9.281 MB / 0.7292 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.92772338911891]