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.0009197/0.0009197, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001036/0.001036, allocations: 168.1 kB / 24.84 MB, free: 9.297 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.9664/0.9664, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6297/0.6297, allocations: 115 MB / 376.8 MB, free: 7.504 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.653e-06/1.653e-06, allocations: 0 / 482.7 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.733e-05, allocations: 5.734 kB / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002826/0.002853, allocations: 1.454 MB / 484.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.00369, allocations: 476.8 kB / 484.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.003734, allocations: 0 / 484.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.537e-05/0.003819, allocations: 6.688 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.003896, allocations: 12.28 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.004702, allocations: 238.5 kB / 484.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.004919, allocations: 147.4 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.004962, allocations: 7.25 kB / 485 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.005075, allocations: 74.38 kB / 485.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.005179, allocations: 33.39 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.005208, allocations: 10.69 kB / 485.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.005418, allocations: 192.8 kB / 485.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.005462, allocations: 39.05 kB / 485.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.005506, allocations: 41.67 kB / 485.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.005738, allocations: 244.1 kB / 485.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.00574, allocations: 0.5312 kB / 485.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005741, allocations: 1.188 kB / 485.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.005745, allocations: 1.375 kB / 485.7 MB, free: 10.09 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.0003527/0.006098, allocations: 489 kB / 486.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.00613, allocations: 9.219 kB / 486.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.00617, allocations: 14.52 kB / 486.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.006281, allocations: 148.9 kB / 486.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.006293, allocations: 5.562 kB / 486.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.00631, allocations: 19.02 kB / 486.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.006383, allocations: 72.67 kB / 486.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.006388, allocations: 192 / 486.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.006395, allocations: 3.094 kB / 486.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.006398, allocations: 384 / 486.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.006426, allocations: 25.2 kB / 486.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.006537, allocations: 149.7 kB / 486.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.475e-05/0.006591, allocations: 73.59 kB / 486.6 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.00662, allocations: 38.5 kB / 486.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.006626, allocations: 3.156 kB / 486.7 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.204e-05/0.006718, allocations: 107.6 kB / 486.8 MB, free: 9.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.006719, allocations: 1.531 kB / 486.8 MB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001879/0.006907, allocations: 116.8 kB / 486.9 MB, free: 9.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.006935, allocations: 85.14 kB / 487 MB, free: 8.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.007001, allocations: 201.6 kB / 487.2 MB, free: 8.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.007018, allocations: 37.14 kB / 487.2 MB, free: 8.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.007063, allocations: 149.1 kB / 487.4 MB, free: 8.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.007101, allocations: 42.42 kB / 487.4 MB, free: 8.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.007167, allocations: 54.06 kB / 487.5 MB, free: 8.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.007401, allocations: 0.5023 MB / 488 MB, free: 23.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.007422, allocations: 11.55 kB / 488 MB, free: 23.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.007554, allocations: 0.6026 MB / 488.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.007615, allocations: 63.61 kB / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007617, allocations: 0 / 488.6 MB, free: 23.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001136/0.00773, allocations: 118 kB / 488.7 MB, free: 23.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007741, allocations: 5.5 kB / 488.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.007757, allocations: 2.938 kB / 488.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.007765, allocations: 1.531 kB / 488.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.007829, allocations: 17.94 kB / 488.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007833, allocations: 10.12 kB / 488.8 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.007936, allocations: 41.77 kB / 488.8 MB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.007943, allocations: 3.312 kB / 488.8 MB, free: 23.14 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.348e-05/0.008027, allocations: 165.9 kB / 489 MB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.008042, allocations: 14.17 kB / 489 MB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.008063, allocations: 17.78 kB / 489 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008065, allocations: 3.5 kB / 489 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.008068, allocations: 4.031 kB / 489 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008072, allocations: 3.984 kB / 489 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.561e-05/0.008137, allocations: 125.5 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.008138, allocations: 0 / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.008157, allocations: 6.844 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008159, allocations: 1.406 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.008165, allocations: 1.688 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008166, allocations: 3.938 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008167, allocations: 2.188 kB / 489.2 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.008273, allocations: 146.5 kB / 489.3 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.008283, allocations: 22.17 kB / 489.3 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.008297, allocations: 1.562 kB / 489.3 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.008318, allocations: 6.203 kB / 489.3 MB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.008344, allocations: 10.81 kB / 489.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.008349, allocations: 5.984 kB / 489.4 MB, free: 22.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.008396, allocations: 139.9 kB / 489.5 MB, free: 22.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008396, allocations: 1.594 kB / 489.5 MB, free: 22.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.008616, allocations: 75.73 kB / 489.6 MB, free: 22.54 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.0001632/0.008779, allocations: 178.9 kB / 489.7 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.008918, allocations: 130.4 kB / 489.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.008919, allocations: 0 / 489.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.008976, allocations: 26.75 kB / 489.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.009084, allocations: 9.031 kB / 489.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.009334, allocations: 215.5 kB / 490.1 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.009368, allocations: 67.28 kB / 490.2 MB, free: 22.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.0094, allocations: 9.359 kB / 490.2 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.009479, allocations: 97.92 kB / 490.3 MB, free: 22.01 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.00948, allocations: 0 / 490.3 MB, free: 22.01 MB / 426.7 MB Notification: Performance of Templates: time 0.004505/0.01399, allocations: 2.941 MB / 493.2 MB, free: 21.73 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.5923258559778333]