Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0108/0.0108, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.68/1.68, allocations: 251.7 MB / 0.5094 GB, free: 3.113 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 68.47 kB / 0.7257 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3609, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004145/0.3651, allocations: 1.45 MB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3665, allocations: 407 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.3666, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.3668, allocations: 15.86 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.3671, allocations: 11.86 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.3679, allocations: 230.7 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.3685, allocations: 339.6 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.3686, allocations: 8.172 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.3688, allocations: 155.7 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3691, allocations: 138.8 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.3692, allocations: 28 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3693, allocations: 55.92 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3695, allocations: 51.88 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.3697, allocations: 119.7 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3701, allocations: 271.3 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3701, allocations: 0 / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3702, allocations: 0 / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3702, allocations: 0 / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001269/0.3714, allocations: 0.5802 MB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.3715, allocations: 12.03 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3717, allocations: 32.75 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.3721, allocations: 248.1 kB / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.3721, allocations: 16.38 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.3722, allocations: 32.36 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.3729, allocations: 260.3 kB / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3729, allocations: 192 / 0.8323 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.3729, allocations: 15.86 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3729, allocations: 4 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3733, allocations: 103.9 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.3739, allocations: 379.9 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3744, allocations: 242.5 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3748, allocations: 131.5 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3748, allocations: 0 / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007525/0.3756, allocations: 287.6 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.3756, allocations: 0 / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.001368/0.3769, allocations: 0.5367 MB / 0.834 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.3771, allocations: 144.5 kB / 0.8341 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3773, allocations: 154 kB / 0.8342 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.3774, allocations: 41.7 kB / 0.8343 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3775, allocations: 104.6 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.3776, allocations: 67.17 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3778, allocations: 81.69 kB / 0.8345 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.378, allocations: 334.8 kB / 0.8348 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.3783, allocations: 175.9 kB / 0.835 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.3786, allocations: 228.6 kB / 0.8352 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.379, allocations: 309.6 kB / 0.8355 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.379, allocations: 0 / 0.8355 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001078/0.3801, allocations: 0.7298 MB / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3802, allocations: 95.3 kB / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3802, allocations: 0 / 0.8363 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3802, allocations: 4 kB / 0.8363 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3804, allocations: 15.94 kB / 0.8363 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.3804, allocations: 4 kB / 0.8363 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.3808, allocations: 75.66 kB / 0.8364 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3809, allocations: 20 kB / 0.8364 GB, free: 7.211 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition4,$whenCondition3,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 0.0001869/0.3811, allocations: 168.4 kB / 0.8366 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3811, allocations: 15.84 kB / 0.8366 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.3812, allocations: 20.7 kB / 0.8366 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3812, allocations: 4 kB / 0.8366 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3812, allocations: 0 / 0.8366 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.3812, allocations: 4 kB / 0.8366 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.3815, allocations: 261.3 kB / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3815, allocations: 15.92 kB / 0.8369 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.3816, allocations: 8 kB / 0.8369 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3816, allocations: 7.938 kB / 0.8369 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.3816, allocations: 19.97 kB / 0.8369 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3816, allocations: 0 / 0.8369 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3816, allocations: 3.938 kB / 0.8369 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.3825, allocations: 474.5 kB / 0.8374 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.3826, allocations: 96.84 kB / 0.8375 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.3826, allocations: 19.94 kB / 0.8375 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3828, allocations: 19.97 kB / 0.8375 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3829, allocations: 15.97 kB / 0.8375 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3829, allocations: 27.91 kB / 0.8376 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.374e-05/0.383, allocations: 113.7 kB / 0.8377 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.383, allocations: 0 / 0.8377 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003328/0.3833, allocations: 75.98 kB / 0.8377 GB, free: 5.766 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002519/0.3836, allocations: 147.2 kB / 0.8379 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.3846, allocations: 0.6899 MB / 0.8386 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3846, allocations: 0 / 0.8386 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.385, allocations: 167.8 kB / 0.8387 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3852, allocations: 23.86 kB / 0.8387 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.386, allocations: 378.2 kB / 0.8391 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3863, allocations: 0.7243 MB / 0.8398 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.3864, allocations: 9.422 kB / 0.8398 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.3864, allocations: 15.44 kB / 0.8398 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3865, allocations: 4 kB / 0.8398 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.007704/0.3942, allocations: 3.629 MB / 0.8434 GB, free: 15.93 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)