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.000901/0.000901, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001726/0.001726, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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 0.9467/0.9467, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00167/0.00167, allocations: 239.3 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6763/0.6763, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.242e-06/1.242e-06, allocations: 0 / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.817e-05, allocations: 6.312 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001687/0.001705, allocations: 1.454 MB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006415/0.002346, allocations: 0.4884 MB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.002374, allocations: 3.938 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.002432, allocations: 8.969 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.002487, allocations: 13.89 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.003095, allocations: 240.2 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.003291, allocations: 152.8 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.003321, allocations: 1.469 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.003408, allocations: 79.2 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.003469, allocations: 32.42 kB / 464.7 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.003492, allocations: 10.78 kB / 464.7 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.003744, allocations: 193.3 kB / 464.9 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.003791, allocations: 36.61 kB / 465 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.00384, allocations: 36.42 kB / 465 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.004126, allocations: 253.4 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004129, allocations: 1.875 kB / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004129, allocations: 0 / 465.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.004137, allocations: 0.5625 kB / 465.2 MB, free: 15.29 MB / 426.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.0003812/0.004519, allocations: 347.2 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.004549, allocations: 11.25 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.004587, allocations: 13.05 kB / 465.6 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.004718, allocations: 143.9 kB / 465.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00473, allocations: 9.562 kB / 465.8 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004749, allocations: 11.34 kB / 465.8 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.205e-05/0.004831, allocations: 71.58 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004837, allocations: 192 / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004843, allocations: 2.125 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004848, allocations: 1.531 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.004878, allocations: 22.67 kB / 465.9 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.004981, allocations: 97.92 kB / 466 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.00504, allocations: 60.86 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.005068, allocations: 24.22 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.005074, allocations: 5.062 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.005178, allocations: 99.44 kB / 466.1 MB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.005179, allocations: 2.094 kB / 466.2 MB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001359/0.005315, allocations: 93.16 kB / 466.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.005355, allocations: 85.5 kB / 466.3 MB, free: 14.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.005428, allocations: 142.7 kB / 466.5 MB, free: 14.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.00545, allocations: 35.36 kB / 466.5 MB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.005485, allocations: 93.61 kB / 466.6 MB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.005517, allocations: 39.34 kB / 466.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.005567, allocations: 46.25 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.005643, allocations: 332.2 kB / 467 MB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.005666, allocations: 14.5 kB / 467 MB, free: 13.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.005862, allocations: 0.5441 MB / 467.6 MB, free: 13.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.005927, allocations: 62.12 kB / 467.6 MB, free: 13.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005929, allocations: 1.25 kB / 467.6 MB, free: 13.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 9.663e-05/0.006026, allocations: 102.4 kB / 467.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.006042, allocations: 4.656 kB / 467.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.006057, allocations: 4.547 kB / 467.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.006066, allocations: 4 kB / 467.7 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.006123, allocations: 13.41 kB / 467.7 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.006127, allocations: 7.938 kB / 467.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.00622, allocations: 34.16 kB / 467.8 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006227, allocations: 4 kB / 467.8 MB, free: 12.85 MB / 426.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.741e-05/0.006295, allocations: 134.4 kB / 467.9 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.006307, allocations: 19.92 kB / 467.9 MB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.006328, allocations: 8.781 kB / 467.9 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.006332, allocations: 4 kB / 468 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006334, allocations: 0 / 468 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.006339, allocations: 7.781 kB / 468 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.424e-05/0.006403, allocations: 82.36 kB / 468 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006405, allocations: 3.984 kB / 468 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.006422, allocations: 10.19 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006423, allocations: 0 / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.006427, allocations: 0 / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.006429, allocations: 4 kB / 468.1 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.00643, allocations: 3.938 kB / 468.1 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.006517, allocations: 115.8 kB / 468.2 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.006527, allocations: 12.67 kB / 468.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.006539, allocations: 3.984 kB / 468.2 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.006558, allocations: 4.625 kB / 468.2 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.006582, allocations: 10.83 kB / 468.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.006587, allocations: 4 kB / 468.2 MB, free: 12.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.006609, allocations: 30.84 kB / 468.2 MB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006609, allocations: 0 / 468.2 MB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.006794, allocations: 83.8 kB / 468.3 MB, free: 12.28 MB / 426.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.0001578/0.006952, allocations: 157.8 kB / 468.5 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.007068, allocations: 116.2 kB / 468.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.007071, allocations: 3.938 kB / 468.6 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.007096, allocations: 25.94 kB / 468.6 MB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.021e-05/0.007156, allocations: 9.641 kB / 468.6 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.007389, allocations: 199.6 kB / 468.8 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.007424, allocations: 76.78 kB / 468.9 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.007454, allocations: 9.891 kB / 468.9 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.007526, allocations: 71.36 kB / 469 MB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007527, allocations: 1 kB / 469 MB, free: 11.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003877/0.0114, allocations: 2.886 MB / 471.9 MB, free: 8.957 MB / 426.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.2879289309494197]