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.0006917/0.0006917, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000975/0.001667, allocations: 447.8 kB / 10.34 MB, free: 352 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.0009843/0.0009843, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.002115, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 0.9727/0.9727, allocations: 177.1 MB / 189.6 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1643/1.137, allocations: 53.65 MB / 243.2 MB, free: 2.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 119.1 MB / 363.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06701/0.7442, allocations: 37.85 MB / 400.9 MB, free: 15.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.603e-06/1.603e-06, allocations: 0 / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.338e-05, allocations: 5.828 kB / 402.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001798/0.001812, allocations: 1.505 MB / 403.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005969/0.002409, allocations: 474 kB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.002443, allocations: 0 / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.002496, allocations: 7.922 kB / 404.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.002541, allocations: 19.86 kB / 404.2 MB, free: 12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.002981, allocations: 223.3 kB / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.003148, allocations: 147.7 kB / 404.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.003188, allocations: 7.938 kB / 404.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.003283, allocations: 87.88 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.003346, allocations: 39.89 kB / 404.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.003369, allocations: 12 kB / 404.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.003625, allocations: 195.7 kB / 404.9 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.003665, allocations: 27.92 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.00371, allocations: 27.94 kB / 404.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.003933, allocations: 203.5 kB / 405.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.003949, allocations: 0 / 405.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003949, allocations: 0 / 405.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.003966, allocations: 0 / 405.1 MB, free: 11.05 MB / 394.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.0004748/0.004441, allocations: 387.7 kB / 405.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.004469, allocations: 15.89 kB / 405.5 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.004506, allocations: 16.92 kB / 405.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.004643, allocations: 151.9 kB / 405.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.004656, allocations: 8.375 kB / 405.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.004671, allocations: 8.375 kB / 405.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.004751, allocations: 62.78 kB / 405.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004758, allocations: 192 / 405.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.004764, allocations: 384 / 405.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004771, allocations: 4.375 kB / 405.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.004804, allocations: 25.52 kB / 405.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.662e-05/0.004901, allocations: 91.55 kB / 405.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.00496, allocations: 61.05 kB / 406 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.004985, allocations: 25.97 kB / 406 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.004994, allocations: 8.078 kB / 406 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.005109, allocations: 83.89 kB / 406.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 7.01e-07/0.00511, allocations: 0 / 406.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001364/0.005246, allocations: 99.19 kB / 406.2 MB, free: 9.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.005294, allocations: 85.05 kB / 406.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.005368, allocations: 146.6 kB / 406.4 MB, free: 9.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.005391, allocations: 37.69 kB / 406.4 MB, free: 9.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.005422, allocations: 88.5 kB / 406.5 MB, free: 9.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.005457, allocations: 43.72 kB / 406.6 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.005504, allocations: 41.69 kB / 406.6 MB, free: 9.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.005579, allocations: 330.7 kB / 406.9 MB, free: 9.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.005599, allocations: 18.81 kB / 406.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.005803, allocations: 0.5361 MB / 407.5 MB, free: 8.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.005864, allocations: 71.08 kB / 407.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005866, allocations: 0 / 407.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 8.795e-05/0.005954, allocations: 103.2 kB / 407.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005965, allocations: 8 kB / 407.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.005979, allocations: 0 / 407.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.005987, allocations: 0 / 407.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.006065, allocations: 27.98 kB / 407.7 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.006069, allocations: 3.938 kB / 407.7 MB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.345e-05/0.006162, allocations: 35.88 kB / 407.7 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006168, allocations: 0 / 407.7 MB, free: 8.105 MB / 394.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.256e-05/0.00624, allocations: 136.5 kB / 407.9 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.006249, allocations: 8 kB / 407.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006273, allocations: 16.77 kB / 407.9 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.006275, allocations: 4 kB / 407.9 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006277, allocations: 0 / 407.9 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006281, allocations: 3.938 kB / 407.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.779e-05/0.006349, allocations: 93.77 kB / 408 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00635, allocations: 0 / 408 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.006366, allocations: 4 kB / 408 MB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.006373, allocations: 7.953 kB / 408 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006374, allocations: 4 kB / 408 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.006379, allocations: 4 kB / 408 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.00638, allocations: 0 / 408 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006381, allocations: 7.984 kB / 408 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.00646, allocations: 114.2 kB / 408.1 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.006474, allocations: 4 kB / 408.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.006491, allocations: 4 kB / 408.1 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.006518, allocations: 7.984 kB / 408.1 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.006521, allocations: 0 / 408.1 MB, free: 7.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.006544, allocations: 31.41 kB / 408.2 MB, free: 7.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006544, allocations: 0 / 408.2 MB, free: 7.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.006716, allocations: 79.8 kB / 408.2 MB, free: 7.527 MB / 394.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.0001578/0.006874, allocations: 171.1 kB / 408.4 MB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.007017, allocations: 116.2 kB / 408.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.007024, allocations: 4 kB / 408.5 MB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.007049, allocations: 24.78 kB / 408.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.486e-05/0.007114, allocations: 12 kB / 408.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.0075, allocations: 214.4 kB / 408.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.007535, allocations: 67.33 kB / 408.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.523e-05/0.00756, allocations: 4.734 kB / 408.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.007631, allocations: 83.34 kB / 408.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007632, allocations: 0 / 408.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of Templates: time 0.004359/0.01199, allocations: 3.125 MB / 412 MB, free: 3.707 MB / 394.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.3051781384274364]