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.7473/0.7473, allocations: 127.4 MB / 134.9 MB, free: 3.445 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.001113/0.001113, allocations: 175.3 kB / 164.6 MB, free: 11.62 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.371/1.371, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0008892/0.0008893, allocations: 82.53 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.374e-05, allocations: 2.625 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 76.76 MB / 0.6215 GB, free: 43.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.2243, allocations: 102.5 MB / 0.7216 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.2246, allocations: 75.95 kB / 0.7217 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.2355, allocations: 3.399 MB / 0.725 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2355, allocations: 0 / 0.725 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2355, allocations: 7.938 kB / 0.725 GB, free: 1.02 MB / 0.4948 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.001022/0.2366, allocations: 0.5269 MB / 0.7255 GB, free: 448 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2366, allocations: 16.03 kB / 0.7256 GB, free: 432 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2368, allocations: 31.84 kB / 0.7256 GB, free: 400 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.2374, allocations: 273 kB / 0.7258 GB, free: 88 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.2374, allocations: 7.984 kB / 0.7259 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.2375, allocations: 27.98 kB / 0.7259 GB, free: 52 kB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000205/0.2377, allocations: 75.97 kB / 0.726 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.2381, allocations: 240.8 kB / 0.7262 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2381, allocations: 0 / 0.7262 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2382, allocations: 4 kB / 0.7262 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2382, allocations: 0 / 0.7262 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.2386, allocations: 344.4 kB / 0.7265 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.2389, allocations: 222.8 kB / 0.7267 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.239, allocations: 111.4 kB / 0.7268 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.239, allocations: 11.94 kB / 0.7268 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.2394, allocations: 247.6 kB / 0.7271 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.2394, allocations: 0 / 0.7271 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.000625/0.24, allocations: 389.1 kB / 0.7275 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.2401, allocations: 148.5 kB / 0.7276 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2403, allocations: 130.7 kB / 0.7277 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.2403, allocations: 41.7 kB / 0.7278 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.2404, allocations: 108.6 kB / 0.7279 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.2405, allocations: 51.27 kB / 0.7279 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.2405, allocations: 12 kB / 0.7279 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2406, allocations: 330.8 kB / 0.7282 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.2409, allocations: 163.9 kB / 0.7284 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2412, allocations: 191.4 kB / 0.7286 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.2416, allocations: 141.5 kB / 0.7287 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2416, allocations: 4 kB / 0.7287 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00104/0.2426, allocations: 0.6133 MB / 0.7293 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/0.2427, allocations: 83.44 kB / 0.7294 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2428, allocations: 0 / 0.7294 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2428, allocations: 4 kB / 0.7294 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2429, allocations: 23.92 kB / 0.7294 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2429, allocations: 0 / 0.7294 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.2433, allocations: 79.77 kB / 0.7295 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.2434, allocations: 23.97 kB / 0.7295 GB, free: 12.1 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 () * 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.0001361/0.2435, allocations: 140 kB / 0.7297 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.2436, allocations: 23.77 kB / 0.7297 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.2436, allocations: 20.55 kB / 0.7297 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2436, allocations: 0 / 0.7297 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2436, allocations: 4 kB / 0.7297 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2437, allocations: 0 / 0.7297 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2439, allocations: 241.9 kB / 0.7299 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2439, allocations: 0 / 0.7299 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.2439, allocations: 11.94 kB / 0.7299 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.2439, allocations: 7.984 kB / 0.7299 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.244, allocations: 7.984 kB / 0.73 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.244, allocations: 3.953 kB / 0.73 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.244, allocations: 8 kB / 0.73 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.2446, allocations: 468.2 kB / 0.7304 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.2446, allocations: 88.95 kB / 0.7305 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.2447, allocations: 15.98 kB / 0.7305 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2449, allocations: 19.98 kB / 0.7305 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.2449, allocations: 23.91 kB / 0.7306 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.245, allocations: 23.97 kB / 0.7306 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.2451, allocations: 109.7 kB / 0.7307 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2451, allocations: 0 / 0.7307 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003847/0.2454, allocations: 79.94 kB / 0.7308 GB, free: 10.72 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) * 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.0002292/0.2457, allocations: 158.8 kB / 0.7309 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007205/0.2464, allocations: 0.6431 MB / 0.7315 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2464, allocations: 0 / 0.7315 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2466, allocations: 135.9 kB / 0.7317 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.2468, allocations: 15.97 kB / 0.7317 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.2473, allocations: 284.1 kB / 0.732 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2476, allocations: 0.7246 MB / 0.7327 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.2476, allocations: 13.2 kB / 0.7327 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2477, allocations: 15.44 kB / 0.7327 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.2477, allocations: 0 / 0.7327 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of Templates: time 0.006015/0.2537, allocations: 3.076 MB / 0.7357 GB, free: 5.605 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)