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.7453/0.7453, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 168.9 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.0009234/0.0009235, allocations: 83.67 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.514e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1656, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5924/0.7581, allocations: 103.2 MB / 0.7289 GB, free: 10.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.7583, allocations: 71.2 kB / 0.729 GB, free: 10.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.7689, allocations: 3.42 MB / 0.7323 GB, free: 7.188 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.7689, allocations: 0 / 0.7323 GB, free: 7.188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.7689, allocations: 0 / 0.7323 GB, free: 7.188 MB / 490.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.0008823/0.7698, allocations: 0.5322 MB / 0.7328 GB, free: 6.621 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7699, allocations: 8.031 kB / 0.7328 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.77, allocations: 31.86 kB / 0.7329 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.7705, allocations: 273.1 kB / 0.7331 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.7706, allocations: 23.92 kB / 0.7332 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.7707, allocations: 27.56 kB / 0.7332 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.7711, allocations: 244.3 kB / 0.7334 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7711, allocations: 4 kB / 0.7334 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.7711, allocations: 3.984 kB / 0.7334 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7711, allocations: 8 kB / 0.7334 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.7713, allocations: 92.89 kB / 0.7335 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.7717, allocations: 381.6 kB / 0.7339 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.772, allocations: 235.9 kB / 0.7341 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.7722, allocations: 120.5 kB / 0.7342 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.7722, allocations: 0 / 0.7342 GB, free: 5.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.7726, allocations: 264.1 kB / 0.7345 GB, free: 5.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.7726, allocations: 0 / 0.7345 GB, free: 5.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007496/0.7734, allocations: 420.1 kB / 0.7349 GB, free: 4.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.7735, allocations: 136.5 kB / 0.735 GB, free: 4.516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7736, allocations: 139.2 kB / 0.7351 GB, free: 4.387 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.7737, allocations: 45.52 kB / 0.7352 GB, free: 4.344 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.7738, allocations: 103.4 kB / 0.7353 GB, free: 4.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.7739, allocations: 57.81 kB / 0.7353 GB, free: 4.203 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.7739, allocations: 11.81 kB / 0.7353 GB, free: 4.195 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7741, allocations: 329.9 kB / 0.7357 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.7744, allocations: 169.3 kB / 0.7358 GB, free: 3.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.7747, allocations: 216.9 kB / 0.736 GB, free: 3.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.775, allocations: 230.1 kB / 0.7362 GB, free: 3.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.775, allocations: 3.953 kB / 0.7362 GB, free: 3.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001025/0.776, allocations: 0.7046 MB / 0.7369 GB, free: 2.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.7761, allocations: 82.5 kB / 0.737 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7761, allocations: 8.062 kB / 0.737 GB, free: 2.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7761, allocations: 0 / 0.737 GB, free: 2.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7763, allocations: 15.94 kB / 0.737 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7763, allocations: 0.7031 kB / 0.737 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.7767, allocations: 94.25 kB / 0.7371 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.7768, allocations: 19 kB / 0.7371 GB, free: 2.594 MB / 490.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.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 () * 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.0001445/0.7769, allocations: 138.8 kB / 0.7373 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.777, allocations: 23.75 kB / 0.7373 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.777, allocations: 20.12 kB / 0.7373 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.777, allocations: 4 kB / 0.7373 GB, free: 2.414 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.777, allocations: 0 / 0.7373 GB, free: 2.414 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.777, allocations: 7.984 kB / 0.7373 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.7773, allocations: 260.6 kB / 0.7376 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7773, allocations: 8 kB / 0.7376 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.7774, allocations: 11.95 kB / 0.7376 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7774, allocations: 7.984 kB / 0.7376 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.7774, allocations: 11.05 kB / 0.7376 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7774, allocations: 0 / 0.7376 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7775, allocations: 7.938 kB / 0.7376 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.7781, allocations: 480.7 kB / 0.7381 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.7782, allocations: 92.89 kB / 0.7382 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.7782, allocations: 19.67 kB / 0.7382 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7784, allocations: 23.11 kB / 0.7382 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.7785, allocations: 23.34 kB / 0.7382 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.7785, allocations: 27.55 kB / 0.7383 GB, free: 1.469 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.7786, allocations: 112.5 kB / 0.7384 GB, free: 1.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.844e-06/0.7786, allocations: 0 / 0.7384 GB, free: 1.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.779, allocations: 86.86 kB / 0.7385 GB, free: 1.293 MB / 490.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,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) * 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.000232/0.7792, allocations: 153.8 kB / 0.7386 GB, free: 1.141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007694/0.78, allocations: 0.6736 MB / 0.7393 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.78, allocations: 4.062 kB / 0.7393 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.7802, allocations: 147.1 kB / 0.7394 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.7804, allocations: 12.48 kB / 0.7394 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.7809, allocations: 300.4 kB / 0.7397 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.7813, allocations: 0.724 MB / 0.7404 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.7813, allocations: 13.2 kB / 0.7404 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.7814, allocations: 15.44 kB / 0.7404 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.7814, allocations: 0 / 0.7404 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.005947/0.7873, allocations: 3.192 MB / 0.7436 GB, free: 12.38 MB / 0.4948 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)