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.000698/0.000698, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000913/0.001611, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007047/0.0007047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008971/0.001602, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9334/0.9334, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0787/1.012, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.001355/0.001355, allocations: 240.9 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000975/0.00233, allocations: 467.2 kB / 244.7 MB, free: 14.18 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.7007/0.7007, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06694/0.7677, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.643e-06/1.643e-06, allocations: 0 / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.221e-05, allocations: 2.312 kB / 427.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.00205/0.002062, allocations: 1.502 MB / 429.3 MB, free: 3.148 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000559/0.002621, allocations: 0.4901 MB / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.002649, allocations: 0 / 429.7 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.002699, allocations: 7.938 kB / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.002741, allocations: 15.86 kB / 429.8 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.003157, allocations: 227.2 kB / 430 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.003303, allocations: 147.7 kB / 430.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.003344, allocations: 4 kB / 430.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.003441, allocations: 91.86 kB / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.003498, allocations: 39.91 kB / 430.3 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.003519, allocations: 8 kB / 430.3 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.003752, allocations: 195.7 kB / 430.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.003794, allocations: 27.92 kB / 430.5 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.003836, allocations: 23.94 kB / 430.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.004053, allocations: 207.5 kB / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.004065, allocations: 0 / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004066, allocations: 0 / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.004077, allocations: 0 / 430.7 MB, free: 1.68 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.0005417/0.004619, allocations: 387.7 kB / 431.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.004647, allocations: 15.98 kB / 431.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.004684, allocations: 16.86 kB / 431.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004811, allocations: 141.6 kB / 431.3 MB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004821, allocations: 8.375 kB / 431.3 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.004837, allocations: 8.375 kB / 431.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.004917, allocations: 66.72 kB / 431.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.004922, allocations: 192 / 431.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004929, allocations: 4.359 kB / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004935, allocations: 4.375 kB / 431.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.004965, allocations: 21.53 kB / 431.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.32e-05/0.005059, allocations: 103.5 kB / 431.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.005112, allocations: 53.12 kB / 431.5 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.00514, allocations: 29.95 kB / 431.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.005146, allocations: 0 / 431.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.005255, allocations: 91.92 kB / 431.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.005256, allocations: 0 / 431.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001284/0.005384, allocations: 87.27 kB / 431.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.005429, allocations: 93.03 kB / 431.8 MB, free: 424 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.005497, allocations: 146.5 kB / 432 MB, free: 264 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.005517, allocations: 41.7 kB / 432 MB, free: 216 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.00555, allocations: 92.48 kB / 432.1 MB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.005583, allocations: 39.67 kB / 432.1 MB, free: 80 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.005628, allocations: 45.69 kB / 432.2 MB, free: 28 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1752/0.1808, allocations: 331.1 kB / 432.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.1809, allocations: 11.3 kB / 432.5 MB, free: 2.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1811, allocations: 0.5369 MB / 433.1 MB, free: 2.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1812, allocations: 64.73 kB / 433.1 MB, free: 2.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1812, allocations: 0 / 433.1 MB, free: 2.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001435/0.1814, allocations: 98.61 kB / 433.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1814, allocations: 6.188 kB / 433.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.1814, allocations: 4.047 kB / 433.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1814, allocations: 2.562 kB / 433.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.1815, allocations: 20.56 kB / 433.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1815, allocations: 4.25 kB / 433.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1816, allocations: 37.97 kB / 433.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1817, allocations: 2.656 kB / 433.3 MB, free: 2.059 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 8.877e-05/0.1817, allocations: 129.8 kB / 433.4 MB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1818, allocations: 10.12 kB / 433.4 MB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.1818, allocations: 12.62 kB / 433.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1818, allocations: 8.797 kB / 433.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1818, allocations: 3.156 kB / 433.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1818, allocations: 0 / 433.5 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.697e-05/0.1819, allocations: 84.11 kB / 433.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1819, allocations: 1 kB / 433.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.1819, allocations: 9.172 kB / 433.5 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.1819, allocations: 18.3 kB / 433.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1819, allocations: 0.75 kB / 433.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1819, allocations: 1.781 kB / 433.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1819, allocations: 5.344 kB / 433.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1819, allocations: 0 / 433.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1821, allocations: 110.9 kB / 433.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1821, allocations: 4.906 kB / 433.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.1821, allocations: 8.172 kB / 433.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1821, allocations: 10.72 kB / 433.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.1821, allocations: 4.922 kB / 433.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.1822, allocations: 27.88 kB / 433.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1822, allocations: 0 / 433.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.1824, allocations: 71.31 kB / 433.8 MB, free: 1.762 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.0002041/0.1826, allocations: 162 kB / 434 MB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1828, allocations: 117.8 kB / 434.1 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.1828, allocations: 1.688 kB / 434.1 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.1828, allocations: 28.14 kB / 434.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.158e-05/0.1829, allocations: 12.61 kB / 434.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1834, allocations: 214.7 kB / 434.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.1834, allocations: 75.41 kB / 434.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1834, allocations: 9.031 kB / 434.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.1835, allocations: 76.3 kB / 434.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1835, allocations: 0 / 434.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of Templates: time 0.005882/0.1894, allocations: 3.119 MB / 437.6 MB, free: 1.242 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.305773364380002]