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.0009758/0.0009759, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.000926/0.0009261, allocations: 196 kB / 17.34 MB, free: 5.742 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.251/1.251, 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.6805/0.6805, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.58 kB / 0.5577 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1359, allocations: 76.17 MB / 0.632 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002147/0.1381, allocations: 1.404 MB / 0.6334 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.1389, allocations: 0.4944 MB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.139, allocations: 4 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.718e-05/0.139, allocations: 7.938 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.1391, allocations: 11.86 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.1398, allocations: 230 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1399, allocations: 143.8 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.14, allocations: 4 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.1401, allocations: 63.83 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1401, allocations: 43.89 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1402, allocations: 8 kB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.1404, allocations: 167.8 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.1405, allocations: 35.91 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.1405, allocations: 55.72 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1408, allocations: 235.4 kB / 0.6349 GB, free: 1.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1408, allocations: 3.984 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1408, allocations: 0 / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1408, allocations: 0 / 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.0005475/0.1414, allocations: 455 kB / 0.6353 GB, free: 1.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1414, allocations: 8.031 kB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1415, allocations: 12.84 kB / 0.6353 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1417, allocations: 206.2 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1417, allocations: 16.36 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1418, allocations: 8.375 kB / 0.6355 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1419, allocations: 87.88 kB / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.142, allocations: 8.125 kB / 0.6356 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.142, allocations: 7.938 kB / 0.6356 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.142, allocations: 0 / 0.6356 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1421, allocations: 35.98 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.1423, allocations: 230.5 kB / 0.6359 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1424, allocations: 77.19 kB / 0.636 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.1425, allocations: 57.81 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1425, allocations: 3.984 kB / 0.636 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1427, allocations: 109 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.1427, allocations: 0 / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003471/0.1431, allocations: 189.4 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1431, allocations: 93.05 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1433, allocations: 153.7 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1433, allocations: 33.7 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.1434, allocations: 104.5 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.1434, allocations: 35.55 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.1435, allocations: 49.7 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1436, allocations: 322.8 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.1437, allocations: 39.98 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.1439, allocations: 202.1 kB / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.144, allocations: 101.6 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.144, allocations: 0 / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002171/0.1442, allocations: 169.2 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1443, allocations: 8 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.1443, allocations: 0 / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1443, allocations: 4 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.1444, allocations: 4 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1444, allocations: 4 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1446, allocations: 79.73 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1447, allocations: 4 kB / 0.6377 GB, free: 14.36 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.0001213/0.1448, allocations: 137.8 kB / 0.6378 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.1448, allocations: 15.84 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.1448, allocations: 16.7 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1449, allocations: 96 / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1449, allocations: 3.984 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1449, allocations: 0 / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.145, allocations: 193.5 kB / 0.638 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.145, allocations: 3.938 kB / 0.638 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.1451, allocations: 4 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1451, allocations: 0 / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1451, allocations: 15.94 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1451, allocations: 0 / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1451, allocations: 7.938 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1454, allocations: 177.8 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1455, allocations: 96.88 kB / 0.6383 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1455, allocations: 0 / 0.6383 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-05/0.1456, allocations: 4 kB / 0.6383 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1456, allocations: 11.98 kB / 0.6383 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1456, allocations: 4 kB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.1457, allocations: 114.3 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1457, allocations: 0 / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.146, allocations: 72 kB / 0.6385 GB, free: 13.4 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.0002262/0.1462, allocations: 165.9 kB / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1465, allocations: 164 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1465, allocations: 0 / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.1466, allocations: 47.92 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.1467, allocations: 13.5 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.1472, allocations: 227.4 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1474, allocations: 0.7041 MB / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.059e-05/0.1475, allocations: 12.59 kB / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1475, allocations: 11.44 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1475, allocations: 4 kB / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Templates: time 0.005354/0.1529, allocations: 2.524 MB / 0.6423 GB, free: 9.5 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)