Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6133/0.6133, allocations: 94.69 MB / 107.2 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002073/0.002073, allocations: 179.1 kB / 130.7 MB, free: 7.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.988/1.988, allocations: 170.5 MB / 324.5 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002188/0.002188, allocations: 111 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.958e-05/4.96e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.6268, allocations: 61.51 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.7845, allocations: 94 MB / 0.5972 GB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.7849, allocations: 74.22 kB / 0.5972 GB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.7964, allocations: 3.381 MB / 0.6005 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7964, allocations: 0 / 0.6005 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.7964, allocations: 0 / 0.6005 GB, free: 14.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005867/0.797, allocations: 0.5255 MB / 0.6011 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.7971, allocations: 8.031 kB / 0.6011 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.7972, allocations: 28.66 kB / 0.6011 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.7978, allocations: 261.6 kB / 0.6013 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.7978, allocations: 12 kB / 0.6014 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.7979, allocations: 32.61 kB / 0.6014 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.7983, allocations: 184 kB / 0.6016 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.7983, allocations: 3.984 kB / 0.6016 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.7984, allocations: 4 kB / 0.6016 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.7984, allocations: 4 kB / 0.6016 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.7985, allocations: 87.92 kB / 0.6017 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.799, allocations: 329 kB / 0.602 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.7993, allocations: 239.2 kB / 0.6022 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.7995, allocations: 187.5 kB / 0.6024 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.7996, allocations: 7.984 kB / 0.6024 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.8, allocations: 329.4 kB / 0.6027 GB, free: 11.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.8, allocations: 0 / 0.6027 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006894/0.8007, allocations: 363.5 kB / 0.603 GB, free: 11.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.8009, allocations: 310.7 kB / 0.6033 GB, free: 10.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.801, allocations: 140.8 kB / 0.6035 GB, free: 10.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.8011, allocations: 41.7 kB / 0.6035 GB, free: 10.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.8012, allocations: 108.6 kB / 0.6036 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.8013, allocations: 67.14 kB / 0.6037 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.8014, allocations: 12 kB / 0.6037 GB, free: 10.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8015, allocations: 332.3 kB / 0.604 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.8019, allocations: 187.9 kB / 0.6042 GB, free: 10.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.8022, allocations: 219.4 kB / 0.6044 GB, free: 9.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.8026, allocations: 280 kB / 0.6047 GB, free: 9.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8026, allocations: 0 / 0.6047 GB, free: 9.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001187/0.8038, allocations: 0.817 MB / 0.6055 GB, free: 8.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.8039, allocations: 144.6 kB / 0.6056 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.804, allocations: 0 / 0.6056 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.804, allocations: 4 kB / 0.6056 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.8041, allocations: 4 kB / 0.6056 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8041, allocations: 0 / 0.6056 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.8046, allocations: 115 kB / 0.6057 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.8047, allocations: 24 kB / 0.6057 GB, free: 8.414 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.8049, allocations: 231.7 kB / 0.606 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.805, allocations: 19.91 kB / 0.606 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.805, allocations: 12.62 kB / 0.606 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.805, allocations: 0 / 0.606 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.805, allocations: 4 kB / 0.606 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8051, allocations: 0 / 0.606 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.8053, allocations: 265.3 kB / 0.6063 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8053, allocations: 4 kB / 0.6063 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.8054, allocations: 7.984 kB / 0.6063 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8054, allocations: 0 / 0.6063 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.8054, allocations: 12 kB / 0.6063 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8054, allocations: 7.938 kB / 0.6063 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8054, allocations: 3.375 kB / 0.6063 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.8061, allocations: 499.8 kB / 0.6068 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.8062, allocations: 92.91 kB / 0.6069 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.8063, allocations: 16 kB / 0.6069 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.8065, allocations: 35.97 kB / 0.6069 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.8066, allocations: 23.88 kB / 0.6069 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.8067, allocations: 19.98 kB / 0.6069 GB, free: 7.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.8068, allocations: 108.5 kB / 0.607 GB, free: 6.945 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8068, allocations: 4 kB / 0.6071 GB, free: 6.941 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000346/0.8071, allocations: 95.88 kB / 0.6071 GB, free: 6.848 MB / 426.7 MB 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,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/0.8074, allocations: 131.2 kB / 0.6073 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.8084, allocations: 0.8544 MB / 0.6081 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8084, allocations: 128 / 0.6081 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.809, allocations: 0.5612 MB / 0.6087 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.8092, allocations: 12 kB / 0.6087 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.81, allocations: 326.2 kB / 0.609 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.8104, allocations: 0.7243 MB / 0.6097 GB, free: 4.117 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.8104, allocations: 8.656 kB / 0.6097 GB, free: 4.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.8105, allocations: 11.44 kB / 0.6097 GB, free: 4.094 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/0.8105, allocations: 0 / 0.6097 GB, free: 4.094 MB / 426.7 MB Notification: Performance of Templates: time 0.007914/0.8184, allocations: 3.669 MB / 0.6133 GB, free: 0.6328 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)