Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009966/0.0009966, allocations: 100 kB / 16.4 MB, free: 5.941 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.001102/0.001102, allocations: 186.8 kB / 17.34 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.7 kB / 0.5576 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 76.18 MB / 0.632 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002271/0.146, allocations: 1.407 MB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.1468, allocations: 498.2 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1469, allocations: 7.938 kB / 0.6339 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.147, allocations: 7.922 kB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.147, allocations: 11.94 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.1477, allocations: 233.7 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1479, allocations: 147.8 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.148, allocations: 0 / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.148, allocations: 59.84 kB / 0.6343 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.1481, allocations: 39.88 kB / 0.6344 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.1482, allocations: 19.94 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1484, allocations: 171.8 kB / 0.6346 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.1485, allocations: 35.91 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.1486, allocations: 55.72 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1489, allocations: 235.4 kB / 0.6349 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1489, allocations: 0 / 0.6349 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1489, allocations: 0 / 0.6349 GB, free: 1.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1489, allocations: 4 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005437/0.1494, allocations: 443 kB / 0.6353 GB, free: 1.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1495, allocations: 15.97 kB / 0.6353 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.1495, allocations: 12.84 kB / 0.6353 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1497, allocations: 208.1 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1498, allocations: 4.375 kB / 0.6355 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1498, allocations: 12.38 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1499, allocations: 83.89 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.15, allocations: 192 / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.15, allocations: 7.938 kB / 0.6356 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.15, allocations: 4 kB / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1501, allocations: 35.97 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.1503, allocations: 226.5 kB / 0.6359 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1504, allocations: 85.17 kB / 0.636 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.1505, allocations: 53.81 kB / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1505, allocations: 8 kB / 0.636 GB, free: 196 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1507, allocations: 109 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 2.464e-06/0.1507, allocations: 3.984 kB / 0.6361 GB, free: 64 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003214/0.151, allocations: 193.3 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1511, allocations: 89.09 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1512, allocations: 150.8 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1512, allocations: 41.62 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.1513, allocations: 96.52 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.1514, allocations: 43.53 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.1514, allocations: 45.7 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1515, allocations: 326.8 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.1516, allocations: 39.97 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1518, allocations: 203.3 kB / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1519, allocations: 89.7 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1519, allocations: 8 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002058/0.1521, allocations: 165.2 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1522, allocations: 5.406 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.1522, allocations: 4 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1522, allocations: 0 / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.1523, allocations: 15.98 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1523, allocations: 3.938 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1526, allocations: 75.75 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1526, allocations: 4.625 kB / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001183/0.1527, allocations: 137.8 kB / 0.6378 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.1527, allocations: 11.84 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.1528, allocations: 12.72 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1528, allocations: 4 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1528, allocations: 4 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1528, allocations: 0 / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1529, allocations: 193.5 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1529, allocations: 3.938 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.153, allocations: 12 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.153, allocations: 0 / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.153, allocations: 3.984 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.153, allocations: 7.938 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.153, allocations: 0 / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1532, allocations: 177.8 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1533, allocations: 92.89 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1533, allocations: 4 kB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.1533, allocations: 0 / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1534, allocations: 11.98 kB / 0.6383 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1534, allocations: 4 kB / 0.6383 GB, free: 13.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.1535, allocations: 117.5 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1535, allocations: 0 / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1537, allocations: 75.98 kB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002187/0.154, allocations: 157.8 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1542, allocations: 167.4 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1542, allocations: 0 / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.1543, allocations: 43.92 kB / 0.6388 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.1545, allocations: 15.92 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.1549, allocations: 231.4 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1551, allocations: 0.7041 MB / 0.6398 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.1552, allocations: 8.938 kB / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1552, allocations: 23.38 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1552, allocations: 0 / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of Templates: time 0.004946/0.1602, allocations: 2.521 MB / 0.6423 GB, free: 9.504 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)