Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001207/0.001207, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001773/0.001773, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9159/0.9159, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6042/0.6042, allocations: 115 MB / 375.7 MB, free: 7.648 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.512e-05, allocations: 2.844 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002608/0.002633, allocations: 1.464 MB / 482.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.003421, allocations: 481 kB / 483.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.003458, allocations: 0 / 483.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.644e-05/0.003544, allocations: 8.562 kB / 483.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.003615, allocations: 16.33 kB / 483.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.004452, allocations: 242 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.004681, allocations: 144.8 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.004722, allocations: 6.641 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.004835, allocations: 84.53 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.00492, allocations: 33.2 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.004955, allocations: 10.53 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.00528, allocations: 192.7 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.005348, allocations: 32.61 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.005417, allocations: 38.61 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.005787, allocations: 252 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005791, allocations: 0 / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005792, allocations: 1.406 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005797, allocations: 0 / 484.4 MB, free: 10.17 MB / 410.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.0005413/0.006338, allocations: 481.8 kB / 484.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.006379, allocations: 8.688 kB / 484.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.006451, allocations: 14.98 kB / 484.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.006627, allocations: 156 kB / 485.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.006645, allocations: 6.906 kB / 485.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.006675, allocations: 17.5 kB / 485.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.006807, allocations: 68.84 kB / 485.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.006816, allocations: 192 / 485.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006828, allocations: 2.375 kB / 485.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.006836, allocations: 384 / 485.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.006892, allocations: 28.23 kB / 485.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.007077, allocations: 175.1 kB / 485.4 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.007166, allocations: 70.7 kB / 485.4 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.007219, allocations: 38.22 kB / 485.5 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.007231, allocations: 1.312 kB / 485.5 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.007373, allocations: 107.8 kB / 485.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.007375, allocations: 0 / 485.6 MB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003008/0.007675, allocations: 117.3 kB / 485.7 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.007718, allocations: 93.19 kB / 485.8 MB, free: 8.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007833, allocations: 207.9 kB / 486 MB, free: 8.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.007861, allocations: 36.58 kB / 486 MB, free: 8.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.007911, allocations: 148.3 kB / 486.2 MB, free: 8.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.007954, allocations: 37.23 kB / 486.2 MB, free: 8.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.008032, allocations: 56.44 kB / 486.3 MB, free: 8.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.008332, allocations: 0.4963 MB / 486.8 MB, free: 24.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.008394, allocations: 23.55 kB / 486.8 MB, free: 24.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.008605, allocations: 0.5956 MB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.008723, allocations: 80.3 kB / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008725, allocations: 0 / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001996/0.008925, allocations: 121.3 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.008941, allocations: 6.344 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.008964, allocations: 3.156 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.008981, allocations: 6.062 kB / 487.6 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.009093, allocations: 20.92 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.009099, allocations: 2.5 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.009282, allocations: 56.8 kB / 487.7 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.009294, allocations: 4.25 kB / 487.7 MB, free: 23.19 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 0.000108/0.009402, allocations: 166.9 kB / 487.8 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.009426, allocations: 19.91 kB / 487.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.009455, allocations: 14.23 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.009458, allocations: 5.188 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.009462, allocations: 0.5625 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.009467, allocations: 5.062 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.009581, allocations: 151.9 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009583, allocations: 0 / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.009621, allocations: 9.875 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009624, allocations: 0.5 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.009635, allocations: 4.094 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.009638, allocations: 1.406 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.00964, allocations: 3.938 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.009823, allocations: 153 kB / 488.2 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.009838, allocations: 15.84 kB / 488.2 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.009861, allocations: 6.062 kB / 488.2 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.0099, allocations: 3.844 kB / 488.2 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.009944, allocations: 14.91 kB / 488.2 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.009952, allocations: 2.469 kB / 488.2 MB, free: 22.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.01004, allocations: 144.7 kB / 488.4 MB, free: 22.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01004, allocations: 0.5938 kB / 488.4 MB, free: 22.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.01039, allocations: 76.45 kB / 488.5 MB, free: 22.55 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.0002614/0.01065, allocations: 173.7 kB / 488.6 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01087, allocations: 127.5 kB / 488.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01087, allocations: 0 / 488.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.01092, allocations: 36.97 kB / 488.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.01111, allocations: 13.58 kB / 488.8 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.01147, allocations: 210.6 kB / 489 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.01151, allocations: 70.39 kB / 489.1 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.01156, allocations: 8.094 kB / 489.1 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.01159, allocations: 19.06 kB / 489.1 MB, free: 22.08 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01159, allocations: 0 / 489.1 MB, free: 22.08 MB / 426.7 MB Notification: Performance of Templates: time 0.006707/0.01829, allocations: 2.918 MB / 492 MB, free: 21.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5550794559530914]