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.001106/0.001106, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001583/0.001583, allocations: 165 kB / 24.17 MB, free: 328 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.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.6116/0.6116, allocations: 110.3 MB / 371.3 MB, free: 12.34 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.3 MB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.542e-05, allocations: 6.25 kB / 422.4 MB, free: 9.41 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002772/0.002797, allocations: 1.47 MB / 423.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.003703, allocations: 490 kB / 424.3 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.003735, allocations: 0 / 424.3 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.003807, allocations: 15.86 kB / 424.3 MB, free: 7.426 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.003864, allocations: 7.938 kB / 424.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.00444, allocations: 243.3 kB / 424.6 MB, free: 7.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.004604, allocations: 151.7 kB / 424.7 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.004641, allocations: 4 kB / 424.7 MB, free: 7.027 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.004727, allocations: 79.86 kB / 424.8 MB, free: 6.949 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.004781, allocations: 27.97 kB / 424.8 MB, free: 6.922 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.004804, allocations: 15.94 kB / 424.8 MB, free: 6.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.005304, allocations: 191.6 kB / 425 MB, free: 6.719 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.005356, allocations: 39.91 kB / 425.1 MB, free: 6.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.005403, allocations: 35.97 kB / 425.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.005653, allocations: 247.3 kB / 425.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005655, allocations: 0 / 425.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005656, allocations: 3.938 kB / 425.3 MB, free: 6.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.005659, allocations: 4 kB / 425.3 MB, free: 6.395 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.0003703/0.00603, allocations: 344.2 kB / 425.7 MB, free: 6.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.006059, allocations: 12.03 kB / 425.7 MB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.006092, allocations: 12.92 kB / 425.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.00623, allocations: 153.5 kB / 425.9 MB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.00624, allocations: 4.375 kB / 425.9 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.006261, allocations: 16.38 kB / 425.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.00635, allocations: 62.77 kB / 425.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.006357, allocations: 8.062 kB / 425.9 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.006364, allocations: 4.375 kB / 425.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.006369, allocations: 384 / 425.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.006399, allocations: 21.58 kB / 426 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.709e-05/0.006496, allocations: 87.61 kB / 426.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/0.006554, allocations: 53.14 kB / 426.1 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.006589, allocations: 33.78 kB / 426.1 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.006596, allocations: 4 kB / 426.1 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.661e-05/0.006693, allocations: 87.97 kB / 426.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 7.51e-07/0.006694, allocations: 0 / 426.2 MB, free: 5.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001375/0.006831, allocations: 91.77 kB / 426.3 MB, free: 5.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.006877, allocations: 89.05 kB / 426.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.006949, allocations: 143.1 kB / 426.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.00697, allocations: 33.7 kB / 426.6 MB, free: 4.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.007003, allocations: 92.5 kB / 426.7 MB, free: 4.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.007046, allocations: 43.7 kB / 426.7 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.007092, allocations: 45.69 kB / 426.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.007167, allocations: 334.7 kB / 427.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.007189, allocations: 18.83 kB / 427.1 MB, free: 4.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.007386, allocations: 0.5376 MB / 427.6 MB, free: 3.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.434e-05/0.00745, allocations: 71.19 kB / 427.7 MB, free: 3.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007452, allocations: 0 / 427.7 MB, free: 3.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.784e-05/0.00755, allocations: 95.25 kB / 427.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.00756, allocations: 8 kB / 427.8 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.007576, allocations: 3.938 kB / 427.8 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.007589, allocations: 4 kB / 427.8 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.007654, allocations: 15.98 kB / 427.8 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007658, allocations: 8.094 kB / 427.8 MB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.007754, allocations: 39.86 kB / 427.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.007762, allocations: 4 kB / 427.9 MB, free: 3.484 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.194e-05/0.007834, allocations: 132.6 kB / 428 MB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.007844, allocations: 4 kB / 428 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.007866, allocations: 20.77 kB / 428 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007868, allocations: 0 / 428 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00787, allocations: 4 kB / 428 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007874, allocations: 7.938 kB / 428.1 MB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.037e-05/0.007944, allocations: 89.75 kB / 428.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007945, allocations: 0 / 428.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.007961, allocations: 8 kB / 428.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.007962, allocations: 0 / 428.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.007966, allocations: 0 / 428.1 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.00797, allocations: 7.969 kB / 428.2 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007972, allocations: 4 kB / 428.2 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.008059, allocations: 110.3 kB / 428.3 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008069, allocations: 11.95 kB / 428.3 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.008083, allocations: 4 kB / 428.3 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.0081, allocations: 0 / 428.3 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.008128, allocations: 11.98 kB / 428.3 MB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.008133, allocations: 4 kB / 428.3 MB, free: 3.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.008155, allocations: 32.94 kB / 428.3 MB, free: 2.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008155, allocations: 0 / 428.3 MB, free: 2.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.008337, allocations: 71.81 kB / 428.4 MB, free: 2.914 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.0001848/0.008522, allocations: 172.1 kB / 428.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.008649, allocations: 112.2 kB / 428.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.008652, allocations: 0 / 428.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.008681, allocations: 32.78 kB / 428.7 MB, free: 2.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.068e-05/0.008752, allocations: 7.938 kB / 428.7 MB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.00901, allocations: 210.5 kB / 428.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.009045, allocations: 67.33 kB / 429 MB, free: 2.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.009077, allocations: 8.734 kB / 429 MB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.009149, allocations: 75.36 kB / 429.1 MB, free: 2.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.00915, allocations: 3.938 kB / 429.1 MB, free: 2.156 MB / 394.7 MB Notification: Performance of Templates: time 0.004374/0.01352, allocations: 2.901 MB / 432 MB, free: 15.26 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.287465346045792]