Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8/0.8, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 193.7 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008704/0.0008703, allocations: 93.2 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 13.47 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1762, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3193, allocations: 103.3 MB / 0.7362 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.3196, allocations: 79.95 kB / 0.7362 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.3305, allocations: 3.435 MB / 0.7396 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3305, allocations: 0 / 0.7396 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3305, allocations: 4 kB / 0.7396 GB, free: 3.602 MB / 0.5105 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.0009412/0.3315, allocations: 0.5489 MB / 0.7401 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3315, allocations: 8.031 kB / 0.7401 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.3317, allocations: 31.84 kB / 0.7402 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.3323, allocations: 266.7 kB / 0.7404 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.3323, allocations: 19.98 kB / 0.7404 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.3324, allocations: 31.98 kB / 0.7405 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.333, allocations: 258.7 kB / 0.7407 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.333, allocations: 0 / 0.7407 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.333, allocations: 0 / 0.7407 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.333, allocations: 4 kB / 0.7407 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3333, allocations: 111.8 kB / 0.7408 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.3338, allocations: 391.7 kB / 0.7412 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3342, allocations: 238.5 kB / 0.7414 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3342, allocations: 4.125 kB / 0.7414 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.3347, allocations: 266.8 kB / 0.7417 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.3347, allocations: 0 / 0.7417 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.001161/0.3359, allocations: 0.5326 MB / 0.7422 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.336, allocations: 144.5 kB / 0.7423 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3362, allocations: 136.2 kB / 0.7425 GB, free: 380 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.3363, allocations: 49.69 kB / 0.7425 GB, free: 324 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.3364, allocations: 100.6 kB / 0.7426 GB, free: 220 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.3364, allocations: 67.17 kB / 0.7427 GB, free: 152 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.3365, allocations: 12 kB / 0.7427 GB, free: 140 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3458/0.6822, allocations: 331.5 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.6828, allocations: 175 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.6831, allocations: 214.5 kB / 0.7434 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.6835, allocations: 226.5 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6835, allocations: 0.6562 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009776/0.6845, allocations: 0.727 MB / 0.7443 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.6845, allocations: 84.06 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6846, allocations: 1.531 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.6846, allocations: 2.75 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.6847, allocations: 14.19 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6847, allocations: 6.688 kB / 0.7444 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.6852, allocations: 83.3 kB / 0.7445 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6852, allocations: 27.55 kB / 0.7445 GB, free: 108.4 MB / 0.5105 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 ($whenCondition3,$whenCondition4,$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,$whenCondition1,$whenCondition2,$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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.6855, allocations: 155.8 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.6855, allocations: 17.45 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.6856, allocations: 24.52 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6856, allocations: 3.375 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6856, allocations: 0 / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6856, allocations: 2.109 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.6859, allocations: 265.7 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6859, allocations: 3.5 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.6859, allocations: 13.34 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.6859, allocations: 2.562 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.686, allocations: 14.66 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.686, allocations: 5.156 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.686, allocations: 3.297 kB / 0.745 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.6868, allocations: 0.4927 MB / 0.7455 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.6869, allocations: 92.75 kB / 0.7456 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.6869, allocations: 20.2 kB / 0.7456 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.6871, allocations: 20.22 kB / 0.7456 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.6872, allocations: 28.58 kB / 0.7456 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.6872, allocations: 21.89 kB / 0.7457 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.293e-05/0.6873, allocations: 117.8 kB / 0.7458 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6873, allocations: 0 / 0.7458 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003219/0.6876, allocations: 80.03 kB / 0.7458 GB, free: 107.7 MB / 0.5105 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 (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.0001865/0.6878, allocations: 154.8 kB / 0.746 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008431/0.6886, allocations: 0.6839 MB / 0.7467 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6887, allocations: 2.625 kB / 0.7467 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.689, allocations: 161.8 kB / 0.7468 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.6892, allocations: 18.7 kB / 0.7468 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.6899, allocations: 411.2 kB / 0.7472 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.6901, allocations: 0.7243 MB / 0.7479 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.6902, allocations: 10.62 kB / 0.7479 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.6902, allocations: 16.22 kB / 0.748 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/0.6902, allocations: 0 / 0.748 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.006712/0.6969, allocations: 3.195 MB / 0.7511 GB, free: 106.4 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)