Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001448/0.001448, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001605/0.001605, allocations: 165 kB / 24.17 MB, free: 332 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 1.055/1.055, allocations: 177.1 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5963/0.5963, allocations: 110.3 MB / 371.3 MB, free: 12.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 422.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.298e-05, allocations: 2.312 kB / 422.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002055/0.002078, allocations: 1.514 MB / 423.9 MB, free: 7.816 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000647/0.002725, allocations: 490 kB / 424.4 MB, free: 7.336 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.002755, allocations: 4 kB / 424.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.618e-05/0.002821, allocations: 11.86 kB / 424.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.002873, allocations: 7.938 kB / 424.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.00344, allocations: 231.2 kB / 424.6 MB, free: 7.086 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003602, allocations: 147.7 kB / 424.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.003644, allocations: 11.97 kB / 424.8 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.003723, allocations: 67.95 kB / 424.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.003781, allocations: 35.89 kB / 424.9 MB, free: 6.828 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003803, allocations: 12 kB / 424.9 MB, free: 6.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.004103, allocations: 203.6 kB / 425.1 MB, free: 6.617 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.004153, allocations: 43.89 kB / 425.1 MB, free: 6.574 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.004195, allocations: 35.92 kB / 425.2 MB, free: 6.539 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.004435, allocations: 251.4 kB / 425.4 MB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004438, allocations: 0 / 425.4 MB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004439, allocations: 0 / 425.4 MB, free: 6.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004443, allocations: 3.938 kB / 425.4 MB, free: 6.289 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.0003568/0.004799, allocations: 348.1 kB / 425.8 MB, free: 5.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.004829, allocations: 8.031 kB / 425.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.004867, allocations: 16.91 kB / 425.8 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.005104, allocations: 149.5 kB / 425.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.005116, allocations: 12.38 kB / 425.9 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.005132, allocations: 12.38 kB / 425.9 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.005213, allocations: 62.78 kB / 426 MB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005221, allocations: 4.125 kB / 426 MB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.005227, allocations: 384 / 426 MB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.005232, allocations: 384 / 426 MB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.00526, allocations: 21.58 kB / 426 MB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.005364, allocations: 103.5 kB / 426.1 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.005418, allocations: 49.09 kB / 426.2 MB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.005445, allocations: 25.8 kB / 426.2 MB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.005452, allocations: 4 kB / 426.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.00556, allocations: 92.14 kB / 426.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.005561, allocations: 3.938 kB / 426.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001396/0.0057, allocations: 87.72 kB / 426.4 MB, free: 5.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.005744, allocations: 89.05 kB / 426.5 MB, free: 5.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.005824, allocations: 150.5 kB / 426.6 MB, free: 4.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.005843, allocations: 33.7 kB / 426.7 MB, free: 4.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.005876, allocations: 96.5 kB / 426.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.005911, allocations: 35.72 kB / 426.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.005961, allocations: 49.67 kB / 426.8 MB, free: 4.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.006046, allocations: 330.7 kB / 427.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.006066, allocations: 14.83 kB / 427.2 MB, free: 4.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.00639, allocations: 0.5493 MB / 427.7 MB, free: 3.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.006458, allocations: 59.31 kB / 427.8 MB, free: 3.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00646, allocations: 0 / 427.8 MB, free: 3.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001056/0.006566, allocations: 111.1 kB / 427.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00658, allocations: 7.125 kB / 427.9 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.006596, allocations: 4 kB / 427.9 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006608, allocations: 0 / 427.9 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.006676, allocations: 19.98 kB / 427.9 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.006679, allocations: 3.938 kB / 427.9 MB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.006779, allocations: 43.86 kB / 428 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.006786, allocations: 0 / 428 MB, free: 3.371 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.512e-05/0.006861, allocations: 136.6 kB / 428.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.006873, allocations: 8 kB / 428.1 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.006896, allocations: 16.77 kB / 428.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006898, allocations: 0 / 428.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.0069, allocations: 0 / 428.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006904, allocations: 7.938 kB / 428.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.948e-05/0.006973, allocations: 89.77 kB / 428.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006974, allocations: 0 / 428.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.006992, allocations: 4 kB / 428.2 MB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006994, allocations: 4 kB / 428.2 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007, allocations: 3.984 kB / 428.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007001, allocations: 3.938 kB / 428.2 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.007002, allocations: 0 / 428.2 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.229e-05/0.007094, allocations: 114.3 kB / 428.3 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.007103, allocations: 7.953 kB / 428.4 MB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.007117, allocations: 4 kB / 428.4 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.007138, allocations: 7.984 kB / 428.4 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.007166, allocations: 12 kB / 428.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.00717, allocations: 0 / 428.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.007197, allocations: 32.81 kB / 428.4 MB, free: 2.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007197, allocations: 0 / 428.4 MB, free: 2.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.007386, allocations: 75.81 kB / 428.5 MB, free: 2.797 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.000181/0.007567, allocations: 160.2 kB / 428.6 MB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.007727, allocations: 116.2 kB / 428.8 MB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.007731, allocations: 0 / 428.8 MB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.007774, allocations: 36.77 kB / 428.8 MB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.488e-05/0.007869, allocations: 7.938 kB / 428.8 MB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.008173, allocations: 206.5 kB / 429 MB, free: 2.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.008209, allocations: 71.33 kB / 429.1 MB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.008243, allocations: 4.734 kB / 429.1 MB, free: 2.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.008321, allocations: 87.27 kB / 429.2 MB, free: 2.039 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008322, allocations: 0 / 429.2 MB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.004801/0.01312, allocations: 2.91 MB / 432.1 MB, free: 15.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.553931732196361]