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.008983/0.008984, allocations: 102 kB / 15.73 MB, free: 6.062 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.001449/0.001449, allocations: 195.3 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.873/1.873, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.633/1.633, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001556/0.001556, allocations: 71.91 kB / 0.7257 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3857, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003421/0.3891, allocations: 1.449 MB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3903, allocations: 414.9 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.3904, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3905, allocations: 15.88 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.3908, allocations: 15.86 kB / 0.8298 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.3915, allocations: 218.2 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.3919, allocations: 347.6 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.392, allocations: 12.16 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.3923, allocations: 147.7 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3925, allocations: 145.7 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.3926, allocations: 31.94 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3927, allocations: 51.98 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3928, allocations: 55.88 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.393, allocations: 115.7 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.3935, allocations: 267.3 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3935, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.085e-06/0.3935, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3935, allocations: 4 kB / 0.8312 GB, free: 12.95 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.001331/0.3949, allocations: 0.5763 MB / 0.8317 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.3949, allocations: 12.03 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3951, allocations: 36.73 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.3954, allocations: 246.5 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.3955, allocations: 20.36 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.3956, allocations: 32.36 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.3962, allocations: 249.4 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3962, allocations: 4.188 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.3962, allocations: 7.922 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3963, allocations: 4 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.3966, allocations: 99.86 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.3971, allocations: 383.8 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.3976, allocations: 246.7 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.3979, allocations: 135.4 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3979, allocations: 4 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/0.3986, allocations: 278.4 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.3986, allocations: 0 / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.001256/0.3998, allocations: 0.5399 MB / 0.8339 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4, allocations: 144.5 kB / 0.8341 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4002, allocations: 152.6 kB / 0.8342 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.4002, allocations: 45.7 kB / 0.8343 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.4004, allocations: 104.6 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4005, allocations: 63.19 kB / 0.8344 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4007, allocations: 85.67 kB / 0.8345 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.4009, allocations: 331.1 kB / 0.8348 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4013, allocations: 179.9 kB / 0.835 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.4016, allocations: 226.8 kB / 0.8352 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.4021, allocations: 309.3 kB / 0.8355 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.4022, allocations: 0 / 0.8355 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001171/0.4033, allocations: 0.7333 MB / 0.8362 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.4035, allocations: 91.31 kB / 0.8363 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.4035, allocations: 0 / 0.8363 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.4035, allocations: 4 kB / 0.8363 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4037, allocations: 15.92 kB / 0.8363 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4037, allocations: 4 kB / 0.8363 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.4041, allocations: 75.73 kB / 0.8364 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4042, allocations: 23.98 kB / 0.8364 GB, free: 7.176 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.00022/0.4044, allocations: 160.4 kB / 0.8366 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.4044, allocations: 19.83 kB / 0.8366 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.4045, allocations: 16.72 kB / 0.8366 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4045, allocations: 4 kB / 0.8366 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4045, allocations: 4 kB / 0.8366 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4045, allocations: 7.984 kB / 0.8366 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.4048, allocations: 261.3 kB / 0.8369 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4049, allocations: 4 kB / 0.8369 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.4049, allocations: 12 kB / 0.8369 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.405, allocations: 3.938 kB / 0.8369 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.405, allocations: 15.97 kB / 0.8369 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.405, allocations: 0 / 0.8369 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.405, allocations: 7.984 kB / 0.8369 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008687/0.4059, allocations: 475.1 kB / 0.8374 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.406, allocations: 96.86 kB / 0.8375 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.406, allocations: 19.92 kB / 0.8375 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4062, allocations: 15.98 kB / 0.8375 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4063, allocations: 31.84 kB / 0.8375 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.4064, allocations: 23.97 kB / 0.8376 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.143e-05/0.4065, allocations: 111.2 kB / 0.8377 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4065, allocations: 0 / 0.8377 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003769/0.4069, allocations: 79.98 kB / 0.8377 GB, free: 5.727 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.0002493/0.4071, allocations: 139.2 kB / 0.8379 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.4082, allocations: 0.7016 MB / 0.8386 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4082, allocations: 4.125 kB / 0.8386 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.4085, allocations: 159.8 kB / 0.8387 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4088, allocations: 29.88 kB / 0.8387 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.4097, allocations: 375.4 kB / 0.8391 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.41, allocations: 0.7205 MB / 0.8398 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.4101, allocations: 9.422 kB / 0.8398 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.4101, allocations: 19.44 kB / 0.8398 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of SimCode: time 5.72e-07/0.4101, allocations: 4 kB / 0.8398 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.00929/0.4194, allocations: 3.629 MB / 0.8434 GB, free: 15.9 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)