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.001338/0.001338, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009969/0.0009969, allocations: 169 kB / 24.25 MB, free: 312 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.9731/0.9731, allocations: 177.2 MB / 204.6 MB, free: 5.629 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.6558/0.6558, allocations: 115 MB / 376 MB, free: 7.668 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 1.813e-06/1.813e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.021e-05, allocations: 2.312 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001936/0.001966, allocations: 1.449 MB / 482.9 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006552/0.002621, allocations: 487.6 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.002665, allocations: 2.062 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.738e-05/0.002743, allocations: 3.938 kB / 483.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.002804, allocations: 14.2 kB / 483.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.003439, allocations: 243.8 kB / 483.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.003604, allocations: 143.1 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.003643, allocations: 1 kB / 483.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.003721, allocations: 83.59 kB / 483.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.00379, allocations: 39.7 kB / 483.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.003815, allocations: 7.062 kB / 483.9 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.004043, allocations: 195.2 kB / 484.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.004097, allocations: 32.22 kB / 484.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.004156, allocations: 39.42 kB / 484.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.004443, allocations: 249.2 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004446, allocations: 0.625 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004447, allocations: 1.094 kB / 484.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.004452, allocations: 0.9375 kB / 484.4 MB, free: 10.21 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.0004709/0.004923, allocations: 481.9 kB / 484.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.004965, allocations: 9.094 kB / 484.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.005027, allocations: 15.45 kB / 484.9 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005184, allocations: 151.4 kB / 485.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.005198, allocations: 9.062 kB / 485.1 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.005221, allocations: 17.94 kB / 485.1 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.00534, allocations: 70.17 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.005348, allocations: 0.8125 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00536, allocations: 1.438 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.00537, allocations: 2.156 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.005417, allocations: 22.42 kB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.005582, allocations: 177.4 kB / 485.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.005658, allocations: 74.28 kB / 485.4 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.005701, allocations: 36.83 kB / 485.5 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.005709, allocations: 3.25 kB / 485.5 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.005843, allocations: 107.8 kB / 485.6 MB, free: 9.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.005844, allocations: 3.984 kB / 485.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002493/0.006094, allocations: 115.7 kB / 485.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.006135, allocations: 94 kB / 485.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.006227, allocations: 201.6 kB / 486 MB, free: 8.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.006246, allocations: 33.95 kB / 486 MB, free: 8.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.006472, allocations: 154 kB / 486.2 MB, free: 24.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.006509, allocations: 34.64 kB / 486.2 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.006567, allocations: 55.84 kB / 486.3 MB, free: 24.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.006689, allocations: 0.4955 MB / 486.8 MB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.006736, allocations: 24.72 kB / 486.8 MB, free: 24.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.006889, allocations: 0.6011 MB / 487.4 MB, free: 23.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.006972, allocations: 69.44 kB / 487.5 MB, free: 23.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006975, allocations: 0.625 kB / 487.5 MB, free: 23.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001415/0.007117, allocations: 121.6 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007131, allocations: 6.844 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.007152, allocations: 3.25 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.007167, allocations: 5 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.007253, allocations: 22.19 kB / 487.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007259, allocations: 4.969 kB / 487.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.007385, allocations: 48.3 kB / 487.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.007394, allocations: 9.094 kB / 487.7 MB, free: 23.23 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 8.849e-05/0.007482, allocations: 170.8 kB / 487.8 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.007499, allocations: 10.17 kB / 487.8 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.007526, allocations: 15.44 kB / 487.9 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.00753, allocations: 5.406 kB / 487.9 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.007535, allocations: 1.281 kB / 487.9 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.00754, allocations: 8.797 kB / 487.9 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.007634, allocations: 142.4 kB / 488 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007635, allocations: 1.938 kB / 488 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.007668, allocations: 10.56 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.00767, allocations: 5.344 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.007679, allocations: 1.25 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007681, allocations: 1.094 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007682, allocations: 6.125 kB / 488 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.007829, allocations: 150.2 kB / 488.2 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.007841, allocations: 16.03 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.007861, allocations: 5.188 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.007885, allocations: 2.719 kB / 488.2 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.00793, allocations: 9.656 kB / 488.2 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.007937, allocations: 8.094 kB / 488.2 MB, free: 22.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.007991, allocations: 146.8 kB / 488.4 MB, free: 22.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007992, allocations: 0.5312 kB / 488.4 MB, free: 22.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.008216, allocations: 73.78 kB / 488.4 MB, free: 22.61 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.0002154/0.008432, allocations: 180.8 kB / 488.6 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.008613, allocations: 131.3 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008615, allocations: 0 / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.008652, allocations: 29.66 kB / 488.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.008783, allocations: 14.58 kB / 488.8 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.009095, allocations: 218.7 kB / 489 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.009129, allocations: 66.56 kB / 489.1 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.009164, allocations: 14.09 kB / 489.1 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.009189, allocations: 14.84 kB / 489.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.00919, allocations: 0 / 489.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of Templates: time 0.004718/0.01391, allocations: 2.721 MB / 491.8 MB, free: 21.89 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.6933924278710037]