Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6931/0.6931, allocations: 133.4 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 404.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 106.7 kB / 485.9 MB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009897/0.0009899, allocations: 63.89 kB / 0.5636 GB, free: 69.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1252, allocations: 80.42 MB / 0.6421 GB, free: 5.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002776/0.128, allocations: 1.47 MB / 0.6436 GB, free: 4.004 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.1289, allocations: 0.5193 MB / 0.6441 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.129, allocations: 0 / 0.6441 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.1291, allocations: 7.938 kB / 0.6441 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.1292, allocations: 7.922 kB / 0.6441 GB, free: 3.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.1298, allocations: 202.2 kB / 0.6443 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.13, allocations: 139.8 kB / 0.6444 GB, free: 3.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.13, allocations: 4 kB / 0.6444 GB, free: 3.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.1301, allocations: 55.84 kB / 0.6445 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.1302, allocations: 43.83 kB / 0.6445 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1302, allocations: 4 kB / 0.6445 GB, free: 3.031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.1305, allocations: 163.8 kB / 0.6447 GB, free: 2.871 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.1305, allocations: 31.91 kB / 0.6447 GB, free: 2.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.1306, allocations: 55.72 kB / 0.6448 GB, free: 2.785 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1309, allocations: 219.7 kB / 0.645 GB, free: 2.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1309, allocations: 4 kB / 0.645 GB, free: 2.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1309, allocations: 0 / 0.645 GB, free: 2.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1309, allocations: 0 / 0.645 GB, free: 2.566 MB / 442.7 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.0005232/0.1314, allocations: 445.3 kB / 0.6454 GB, free: 2.082 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1315, allocations: 8.031 kB / 0.6454 GB, free: 2.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.1315, allocations: 16.75 kB / 0.6454 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1317, allocations: 212.2 kB / 0.6456 GB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1318, allocations: 8.375 kB / 0.6456 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1318, allocations: 16.31 kB / 0.6456 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1319, allocations: 79.89 kB / 0.6457 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.132, allocations: 192 / 0.6457 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.132, allocations: 7.938 kB / 0.6457 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.132, allocations: 0 / 0.6457 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1321, allocations: 39.97 kB / 0.6458 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.1323, allocations: 234.4 kB / 0.646 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1324, allocations: 85.17 kB / 0.6461 GB, free: 1.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.1325, allocations: 49.81 kB / 0.6461 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1325, allocations: 4 kB / 0.6461 GB, free: 1.211 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.1327, allocations: 114 kB / 0.6462 GB, free: 1.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1327, allocations: 0 / 0.6462 GB, free: 1.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.000311/0.133, allocations: 185.4 kB / 0.6464 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1331, allocations: 89.09 kB / 0.6465 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1332, allocations: 155.4 kB / 0.6466 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1332, allocations: 33.7 kB / 0.6467 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1333, allocations: 96.52 kB / 0.6468 GB, free: 500 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1333, allocations: 39.55 kB / 0.6468 GB, free: 460 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.1334, allocations: 53.69 kB / 0.6469 GB, free: 400 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.1335, allocations: 326.8 kB / 0.6472 GB, free: 64 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.1336, allocations: 43.98 kB / 0.6472 GB, free: 20 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1338, allocations: 205.4 kB / 0.6474 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.134, allocations: 93.64 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.134, allocations: 0 / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002173/0.1342, allocations: 169.2 kB / 0.6477 GB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1342, allocations: 4 kB / 0.6477 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.1342, allocations: 8.078 kB / 0.6477 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1343, allocations: 7.984 kB / 0.6477 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.1343, allocations: 8 kB / 0.6477 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1343, allocations: 0 / 0.6477 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1346, allocations: 75.84 kB / 0.6478 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1346, allocations: 8 kB / 0.6478 GB, free: 15.39 MB / 458.7 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.0001018/0.1347, allocations: 137.7 kB / 0.6479 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1348, allocations: 15.75 kB / 0.6479 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.1348, allocations: 16.7 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1348, allocations: 0 / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1348, allocations: 4 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1348, allocations: 0 / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.135, allocations: 189.6 kB / 0.6481 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.135, allocations: 3.938 kB / 0.6481 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.135, allocations: 11.98 kB / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.135, allocations: 0 / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.135, allocations: 0 / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.135, allocations: 4 kB / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1351, allocations: 3.938 kB / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.1355, allocations: 0.7858 MB / 0.6489 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1356, allocations: 92.86 kB / 0.649 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1356, allocations: 11.98 kB / 0.649 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.1357, allocations: 0 / 0.649 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1357, allocations: 4 kB / 0.649 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1357, allocations: 7.984 kB / 0.649 GB, free: 13.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.1358, allocations: 121.6 kB / 0.6491 GB, free: 13.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1358, allocations: 0 / 0.6491 GB, free: 13.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.1362, allocations: 68 kB / 0.6492 GB, free: 13.78 MB / 458.7 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.0002158/0.1364, allocations: 159.2 kB / 0.6493 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1366, allocations: 163.5 kB / 0.6495 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1366, allocations: 0 / 0.6495 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.1367, allocations: 47.92 kB / 0.6495 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.1369, allocations: 11.94 kB / 0.6496 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1373, allocations: 389.9 kB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1376, allocations: 0.716 MB / 0.6506 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.1376, allocations: 12.84 kB / 0.6506 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.1376, allocations: 11.44 kB / 0.6507 GB, free: 12.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1376, allocations: 3.938 kB / 0.6507 GB, free: 12.19 MB / 458.7 MB Notification: Performance of Templates: time 0.004699/0.1423, allocations: 2.457 MB / 0.6531 GB, free: 9.766 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)