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.00164/0.00164, 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.001703/0.001703, allocations: 165 kB / 23.8 MB, free: 0.7734 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 1.048/1.048, allocations: 177.1 MB / 204.2 MB, free: 5.09 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.7037/0.7037, allocations: 114.9 MB / 375.7 MB, free: 7.578 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.525e-06/2.525e-06, allocations: 0.7656 kB / 481.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.708e-05, allocations: 3.719 kB / 481.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003716/0.003753, allocations: 1.454 MB / 482.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004909, allocations: 487.6 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.004981, allocations: 2.344 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.005112, allocations: 12.25 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.745e-05/0.00521, allocations: 10.45 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.006628, allocations: 253 kB / 483.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.006892, allocations: 143.8 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.006949, allocations: 2.906 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.007074, allocations: 81.33 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.007166, allocations: 33.06 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.007201, allocations: 10.19 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.007528, allocations: 192.3 kB / 484.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.007597, allocations: 32.97 kB / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.007669, allocations: 41.88 kB / 484.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.008062, allocations: 246.6 kB / 484.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.00807, allocations: 1.219 kB / 484.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.008072, allocations: 0 / 484.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.00808, allocations: 0 / 484.4 MB, free: 10.27 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.0006013/0.008681, allocations: 485.8 kB / 484.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.008723, allocations: 8.688 kB / 484.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.008793, allocations: 15.98 kB / 484.9 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.009016, allocations: 160.8 kB / 485.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.009038, allocations: 6.156 kB / 485.1 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.009068, allocations: 13.12 kB / 485.1 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.009228, allocations: 66.58 kB / 485.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.009243, allocations: 1.562 kB / 485.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.009255, allocations: 384 / 485.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.009269, allocations: 1.75 kB / 485.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.683e-05/0.009326, allocations: 31.38 kB / 485.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.009525, allocations: 172 kB / 485.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.009618, allocations: 71.75 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.009665, allocations: 40.11 kB / 485.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.009674, allocations: 2.188 kB / 485.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.009822, allocations: 109.8 kB / 485.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 7.42e-07/0.009822, allocations: 0 / 485.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002904/0.01011, allocations: 119.9 kB / 485.7 MB, free: 9.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.01015, allocations: 93.84 kB / 485.8 MB, free: 9.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.01046, allocations: 204.4 kB / 486 MB, free: 24.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01048, allocations: 37.86 kB / 486 MB, free: 24.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.01055, allocations: 149.7 kB / 486.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.01059, allocations: 39.05 kB / 486.2 MB, free: 24.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.01064, allocations: 51.11 kB / 486.3 MB, free: 24.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01076, allocations: 0.4997 MB / 486.8 MB, free: 24.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.0108, allocations: 24.67 kB / 486.8 MB, free: 24.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.01099, allocations: 0.5974 MB / 487.4 MB, free: 23.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.01108, allocations: 73.58 kB / 487.5 MB, free: 23.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01108, allocations: 3.938 kB / 487.5 MB, free: 23.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001491/0.01123, allocations: 119.6 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01125, allocations: 10.39 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.01127, allocations: 2.281 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.0113, allocations: 6.562 kB / 487.6 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.0114, allocations: 21.75 kB / 487.6 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.01141, allocations: 3.094 kB / 487.6 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01155, allocations: 55.7 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01156, allocations: 3.781 kB / 487.7 MB, free: 23.29 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.0001061/0.01166, allocations: 169 kB / 487.8 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01168, allocations: 18.39 kB / 487.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.01172, allocations: 15.91 kB / 487.9 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01172, allocations: 5.25 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01173, allocations: 1.312 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01173, allocations: 6.844 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.01183, allocations: 145.6 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01183, allocations: 1.5 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.01186, allocations: 5.062 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01186, allocations: 4.547 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01187, allocations: 3.375 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01187, allocations: 0 / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01188, allocations: 6.688 kB / 488 MB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01202, allocations: 145.4 kB / 488.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.01203, allocations: 15.78 kB / 488.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.01205, allocations: 8.297 kB / 488.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.01207, allocations: 4.25 kB / 488.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.01211, allocations: 10.75 kB / 488.2 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01212, allocations: 12.94 kB / 488.2 MB, free: 22.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.07e-05/0.01218, allocations: 143 kB / 488.4 MB, free: 22.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01218, allocations: 0 / 488.4 MB, free: 22.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01242, allocations: 77.12 kB / 488.5 MB, free: 22.65 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.0002245/0.01264, allocations: 173.3 kB / 488.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01283, allocations: 134.2 kB / 488.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01284, allocations: 1.344 kB / 488.8 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.01287, allocations: 34.62 kB / 488.8 MB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.013, allocations: 3.844 kB / 488.8 MB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.01334, allocations: 217.8 kB / 489 MB, free: 22.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.01338, allocations: 69.83 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.01341, allocations: 10.64 kB / 489.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.01344, allocations: 13.81 kB / 489.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01344, allocations: 0 / 489.1 MB, free: 22.18 MB / 426.7 MB Notification: Performance of Templates: time 0.004778/0.01822, allocations: 2.726 MB / 491.8 MB, free: 21.95 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: 4.164760035928339]