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.001047/0.001047, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0009937/0.0009937, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.9623/0.9623, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.6454/0.6454, allocations: 115 MB / 376 MB, free: 7.48 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.164e-06/2.164e-06, allocations: 0 / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.866e-05, allocations: 2.312 kB / 481.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001765/0.001784, allocations: 1.454 MB / 483.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.002426, allocations: 475.3 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.002466, allocations: 0 / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.002551, allocations: 11.84 kB / 483.9 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.00262, allocations: 14.34 kB / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.003343, allocations: 234.5 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.003544, allocations: 153.6 kB / 484.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.003586, allocations: 2.156 kB / 484.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003693, allocations: 81.56 kB / 484.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.003763, allocations: 31.12 kB / 484.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.003792, allocations: 10.22 kB / 484.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.00406, allocations: 187.8 kB / 484.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.004107, allocations: 36.91 kB / 484.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.004159, allocations: 41.09 kB / 484.6 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.004433, allocations: 251.6 kB / 484.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004434, allocations: 1.094 kB / 484.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004435, allocations: 3.938 kB / 484.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004439, allocations: 1.031 kB / 484.9 MB, free: 10.12 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.0004162/0.004856, allocations: 481.5 kB / 485.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004896, allocations: 8.844 kB / 485.4 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.004936, allocations: 15.8 kB / 485.4 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.005058, allocations: 149.1 kB / 485.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.00507, allocations: 5.812 kB / 485.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.005087, allocations: 13.31 kB / 485.5 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.005175, allocations: 65.3 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.005182, allocations: 4.875 kB / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.005188, allocations: 384 / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.005193, allocations: 2.844 kB / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.005224, allocations: 24.08 kB / 485.6 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.00535, allocations: 146.3 kB / 485.8 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.00541, allocations: 81.33 kB / 485.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.005441, allocations: 35.86 kB / 485.9 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.005449, allocations: 2.438 kB / 485.9 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.005551, allocations: 110 kB / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.005552, allocations: 0 / 486 MB, free: 9.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001927/0.005745, allocations: 105.7 kB / 486.1 MB, free: 9.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.005776, allocations: 91.11 kB / 486.2 MB, free: 8.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.006008, allocations: 205.5 kB / 486.4 MB, free: 24.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.006028, allocations: 34.67 kB / 486.4 MB, free: 24.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.006081, allocations: 146 kB / 486.6 MB, free: 24.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.006112, allocations: 41.97 kB / 486.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.006162, allocations: 57 kB / 486.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006268, allocations: 0.4984 MB / 487.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.00629, allocations: 16.69 kB / 487.2 MB, free: 24.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.006436, allocations: 0.5962 MB / 487.8 MB, free: 23.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.006507, allocations: 68.73 kB / 487.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006509, allocations: 2.312 kB / 487.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000126/0.006635, allocations: 116.3 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006646, allocations: 5.844 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.006663, allocations: 4.031 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006676, allocations: 1.312 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.006747, allocations: 17.53 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.006751, allocations: 5 kB / 488 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.933e-05/0.00685, allocations: 41.52 kB / 488 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006857, allocations: 2.406 kB / 488 MB, free: 23.18 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.563e-05/0.006933, allocations: 174.4 kB / 488.2 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006948, allocations: 11.67 kB / 488.2 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.006976, allocations: 14.52 kB / 488.2 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006978, allocations: 5.281 kB / 488.2 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.006981, allocations: 6.906 kB / 488.2 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.006984, allocations: 0 / 488.2 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.153e-05/0.007066, allocations: 121.3 kB / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007068, allocations: 0 / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.007087, allocations: 6.906 kB / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007089, allocations: 1.469 kB / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007096, allocations: 6 kB / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007097, allocations: 2.594 kB / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007098, allocations: 0 / 488.4 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.007221, allocations: 151 kB / 488.5 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.007231, allocations: 16.03 kB / 488.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007245, allocations: 2.906 kB / 488.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.007266, allocations: 4.578 kB / 488.5 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.007293, allocations: 10.84 kB / 488.6 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.007299, allocations: 7.266 kB / 488.6 MB, free: 22.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.007352, allocations: 147.6 kB / 488.7 MB, free: 22.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007352, allocations: 1.281 kB / 488.7 MB, free: 22.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.007567, allocations: 72.33 kB / 488.8 MB, free: 22.58 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.000177/0.007744, allocations: 176.6 kB / 489 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.007892, allocations: 124.5 kB / 489.1 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007893, allocations: 0 / 489.1 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.007922, allocations: 33.8 kB / 489.1 MB, free: 22.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.008029, allocations: 7.75 kB / 489.1 MB, free: 22.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.008277, allocations: 211.4 kB / 489.3 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.47e-05/0.008312, allocations: 70.59 kB / 489.4 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.092e-05/0.008343, allocations: 10.59 kB / 489.4 MB, free: 22.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.008435, allocations: 97.12 kB / 489.5 MB, free: 22.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008436, allocations: 3.938 kB / 489.5 MB, free: 22.05 MB / 426.7 MB Notification: Performance of Templates: time 0.004618/0.01305, allocations: 2.907 MB / 492.4 MB, free: 21.78 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.46085580997169]