Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006504/0.0006504, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009275/0.001578, allocations: 440 kB / 10.41 MB, free: 284 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.001477/0.001477, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.003233, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9358/0.9358, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07107/1.007, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 230.9 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001728/0.003882, allocations: 475.4 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6752/0.6752, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07456/0.7498, allocations: 42.4 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 428 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.95e-05, allocations: 2.312 kB / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002227/0.002247, allocations: 1.521 MB / 429.6 MB, free: 2.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006247/0.002871, allocations: 494 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.002903, allocations: 0 / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.002955, allocations: 15.92 kB / 430 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.003, allocations: 11.88 kB / 430.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.003563, allocations: 227.2 kB / 430.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.003746, allocations: 143.7 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.003842, allocations: 3.984 kB / 430.4 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003952, allocations: 87.88 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.004015, allocations: 35.95 kB / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.00404, allocations: 12 kB / 430.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.004342, allocations: 203.6 kB / 430.8 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.004394, allocations: 23.94 kB / 430.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.004441, allocations: 23.94 kB / 430.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.004699, allocations: 203.5 kB / 431 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.00471, allocations: 0 / 431 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004711, allocations: 0 / 431 MB, free: 1.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.004721, allocations: 4 kB / 431 MB, free: 1.516 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.0004251/0.005146, allocations: 379.8 kB / 431.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.005175, allocations: 11.98 kB / 431.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.005212, allocations: 12.92 kB / 431.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.005363, allocations: 153.5 kB / 431.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.005379, allocations: 16.38 kB / 431.6 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.005401, allocations: 8.375 kB / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.005491, allocations: 62.78 kB / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005498, allocations: 192 / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.005504, allocations: 384 / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005511, allocations: 4.375 kB / 431.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.005544, allocations: 29.5 kB / 431.7 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.005657, allocations: 103.5 kB / 431.8 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.005715, allocations: 45.14 kB / 431.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005748, allocations: 30.05 kB / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.005755, allocations: 7.938 kB / 431.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.005869, allocations: 83.89 kB / 431.9 MB, free: 468 kB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.00587, allocations: 0 / 431.9 MB, free: 468 kB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001452/0.006015, allocations: 95.25 kB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.006059, allocations: 81.11 kB / 432.1 MB, free: 264 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.006266, allocations: 146.6 kB / 432.3 MB, free: 104 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.00629, allocations: 41.7 kB / 432.3 MB, free: 56 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1742/0.1805, allocations: 86.41 kB / 432.4 MB, free: 2.934 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.1806, allocations: 38.92 kB / 432.4 MB, free: 2.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.1806, allocations: 54.14 kB / 432.5 MB, free: 2.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.1807, allocations: 331 kB / 432.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.1807, allocations: 14.23 kB / 432.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1808, allocations: 0.5372 MB / 433.3 MB, free: 1.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.1809, allocations: 63.52 kB / 433.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1809, allocations: 0 / 433.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001128/0.181, allocations: 98.95 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.181, allocations: 5.5 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.181, allocations: 2.594 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1811, allocations: 4.125 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.1811, allocations: 22.09 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1811, allocations: 9.438 kB / 433.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1812, allocations: 35.06 kB / 433.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1812, allocations: 8 kB / 433.6 MB, free: 1.895 MB / 410.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.718e-05/0.1813, allocations: 124.4 kB / 433.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.1813, allocations: 8.75 kB / 433.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.1814, allocations: 14.69 kB / 433.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1814, allocations: 7.562 kB / 433.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1814, allocations: 0 / 433.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1814, allocations: 0 / 433.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.383e-05/0.1814, allocations: 81.14 kB / 433.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1814, allocations: 4.75 kB / 433.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.1814, allocations: 12.98 kB / 433.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.1815, allocations: 13.11 kB / 433.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1815, allocations: 2.844 kB / 433.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1815, allocations: 2.062 kB / 433.9 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1815, allocations: 4.641 kB / 433.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1815, allocations: 2.844 kB / 433.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.1816, allocations: 109.6 kB / 434 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1816, allocations: 6.219 kB / 434 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.1816, allocations: 3.531 kB / 434 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1816, allocations: 12.59 kB / 434 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1816, allocations: 2.562 kB / 434 MB, free: 1.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.573e-05/0.1816, allocations: 30.23 kB / 434 MB, free: 1.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1816, allocations: 2.656 kB / 434 MB, free: 1.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.1818, allocations: 72 kB / 434.1 MB, free: 1.59 MB / 410.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.0001745/0.182, allocations: 164.3 kB / 434.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1821, allocations: 115.5 kB / 434.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.1821, allocations: 10.64 kB / 434.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.1822, allocations: 32.95 kB / 434.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.037e-05/0.1823, allocations: 14.38 kB / 434.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.1826, allocations: 213.5 kB / 434.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.1827, allocations: 67.52 kB / 434.7 MB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.1827, allocations: 9.906 kB / 434.7 MB, free: 1.211 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1828, allocations: 78.25 kB / 434.8 MB, free: 1.168 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1828, allocations: 0 / 434.8 MB, free: 1.168 MB / 410.7 MB Notification: Performance of Templates: time 0.004722/0.1875, allocations: 3.129 MB / 437.9 MB, free: 1.066 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2005851939320564]