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.0006799/0.0006799, allocations: 85.05 kB / 9.985 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009205/0.0016, allocations: 452 kB / 10.43 MB, free: 264 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.0006812/0.0006812, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009034/0.001585, allocations: 483.5 kB / 11.8 MB, free: 2.359 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 1.058/1.058, allocations: 177.2 MB / 189.7 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09832/1.156, allocations: 53.68 MB / 243.4 MB, free: 15.51 MB / 250.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.6136/0.6136, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07536/0.689, allocations: 38.16 MB / 402.4 MB, free: 12.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 2.925e-06/2.925e-06, allocations: 0 / 403.7 MB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.594e-05, allocations: 6.25 kB / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003292/0.003328, allocations: 1.506 MB / 405.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.004193, allocations: 486 kB / 405.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.004232, allocations: 0 / 405.7 MB, free: 8.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.596e-05/0.004308, allocations: 15.86 kB / 405.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.004369, allocations: 7.938 kB / 405.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.005031, allocations: 231.2 kB / 405.9 MB, free: 8.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.005186, allocations: 143.8 kB / 406.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.005229, allocations: 7.875 kB / 406.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.005327, allocations: 87.92 kB / 406.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.005383, allocations: 35.89 kB / 406.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.005405, allocations: 12 kB / 406.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.005646, allocations: 199.6 kB / 406.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.005695, allocations: 31.92 kB / 406.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.005735, allocations: 23.94 kB / 406.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005956, allocations: 203.4 kB / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.005968, allocations: 0 / 406.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.005969, allocations: 4 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.005982, allocations: 4 kB / 406.7 MB, free: 8.004 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.0004091/0.006391, allocations: 379.8 kB / 407 MB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.006418, allocations: 8.031 kB / 407 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.006457, allocations: 16.92 kB / 407 MB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.006595, allocations: 141.6 kB / 407.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.00661, allocations: 8.375 kB / 407.2 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.00663, allocations: 8.375 kB / 407.2 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.006741, allocations: 74.64 kB / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.006751, allocations: 192 / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.00676, allocations: 384 / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.006769, allocations: 8.375 kB / 407.3 MB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.006806, allocations: 25.58 kB / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.006925, allocations: 91.5 kB / 407.4 MB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.006989, allocations: 53.27 kB / 407.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.007014, allocations: 29.73 kB / 407.5 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.007022, allocations: 7.984 kB / 407.5 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.007131, allocations: 87.91 kB / 407.6 MB, free: 6.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 8.02e-07/0.007132, allocations: 0 / 407.6 MB, free: 6.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001314/0.007263, allocations: 95.23 kB / 407.7 MB, free: 6.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.007302, allocations: 85.11 kB / 407.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.007368, allocations: 142.6 kB / 407.9 MB, free: 6.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.007389, allocations: 37.69 kB / 407.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.007419, allocations: 88.5 kB / 408 MB, free: 6.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.007455, allocations: 47.66 kB / 408.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.007498, allocations: 41.69 kB / 408.1 MB, free: 6.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.007568, allocations: 334.7 kB / 408.4 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.007588, allocations: 18.81 kB / 408.4 MB, free: 6.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.007779, allocations: 0.5338 MB / 409 MB, free: 5.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.007841, allocations: 71.25 kB / 409 MB, free: 5.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007843, allocations: 0 / 409 MB, free: 5.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.932e-05/0.007942, allocations: 95.89 kB / 409.1 MB, free: 5.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.007955, allocations: 8 kB / 409.1 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.007971, allocations: 0 / 409.1 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007983, allocations: 3.984 kB / 409.2 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.00805, allocations: 23.98 kB / 409.2 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.008058, allocations: 3.938 kB / 409.2 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.008155, allocations: 39.81 kB / 409.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.00816, allocations: 0 / 409.2 MB, free: 5.066 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 6.941e-05/0.00823, allocations: 140.5 kB / 409.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.008239, allocations: 8 kB / 409.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.008262, allocations: 16.77 kB / 409.4 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.008265, allocations: 4 kB / 409.4 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.008267, allocations: 0 / 409.4 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.008272, allocations: 3.938 kB / 409.4 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.642e-05/0.008338, allocations: 89.8 kB / 409.5 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.00834, allocations: 0 / 409.5 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.008356, allocations: 8 kB / 409.5 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.008366, allocations: 19.91 kB / 409.5 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008367, allocations: 0 / 409.5 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.008371, allocations: 0 / 409.5 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.008374, allocations: 7.922 kB / 409.5 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008375, allocations: 80 / 409.5 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.008456, allocations: 114.4 kB / 409.6 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008471, allocations: 8 kB / 409.6 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.008488, allocations: 0 / 409.6 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.008512, allocations: 7.984 kB / 409.6 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.008516, allocations: 0 / 409.6 MB, free: 4.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.008539, allocations: 28.84 kB / 409.7 MB, free: 4.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008539, allocations: 4 kB / 409.7 MB, free: 4.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.008703, allocations: 75.8 kB / 409.7 MB, free: 4.48 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.0001764/0.008879, allocations: 172 kB / 409.9 MB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.009006, allocations: 112.2 kB / 410 MB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.009013, allocations: 4 kB / 410 MB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.009046, allocations: 28.78 kB / 410.1 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.95e-05/0.009116, allocations: 12 kB / 410.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.009476, allocations: 226.4 kB / 410.3 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.009509, allocations: 67.34 kB / 410.4 MB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.009536, allocations: 9 kB / 410.4 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.009604, allocations: 75.36 kB / 410.4 MB, free: 3.707 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009605, allocations: 0 / 410.4 MB, free: 3.707 MB / 394.7 MB Notification: Performance of Templates: time 0.00395/0.01355, allocations: 3.133 MB / 413.6 MB, free: 0.5664 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.1425126073881984]