Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001413/0.001413, allocations: 180 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/package.mo): time 0.8246/0.8246, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.392/1.392, allocations: 222.9 MB / 403.3 MB, free: 7.164 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.001006/0.001006, allocations: 105.4 kB / 484.3 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009803/0.0009804, allocations: 55.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1362, allocations: 80.2 MB / 0.6402 GB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002876/0.1391, allocations: 1.474 MB / 0.6416 GB, free: 5.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1401, allocations: 0.5188 MB / 0.6421 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.1402, allocations: 0 / 0.6421 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.73e-05/0.1403, allocations: 7.938 kB / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.1404, allocations: 7.969 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.1411, allocations: 201.8 kB / 0.6423 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1413, allocations: 139.8 kB / 0.6424 GB, free: 4.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.1414, allocations: 4 kB / 0.6424 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.1415, allocations: 55.83 kB / 0.6425 GB, free: 4.406 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.1416, allocations: 35.84 kB / 0.6425 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1417, allocations: 4 kB / 0.6425 GB, free: 4.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1419, allocations: 167.8 kB / 0.6427 GB, free: 4.203 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.142, allocations: 39.89 kB / 0.6427 GB, free: 4.164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.1421, allocations: 47.73 kB / 0.6428 GB, free: 4.117 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.1424, allocations: 227.7 kB / 0.643 GB, free: 3.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1424, allocations: 0 / 0.643 GB, free: 3.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1424, allocations: 0 / 0.643 GB, free: 3.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1424, allocations: 0 / 0.643 GB, free: 3.895 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.0005719/0.143, allocations: 443.1 kB / 0.6434 GB, free: 3.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1431, allocations: 8.031 kB / 0.6434 GB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1431, allocations: 20.75 kB / 0.6435 GB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1434, allocations: 210 kB / 0.6437 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1434, allocations: 4.375 kB / 0.6437 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1434, allocations: 20.31 kB / 0.6437 GB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1436, allocations: 75.95 kB / 0.6437 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1436, allocations: 4.188 kB / 0.6438 GB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1436, allocations: 3.938 kB / 0.6438 GB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1436, allocations: 0 / 0.6438 GB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/0.1437, allocations: 39.97 kB / 0.6438 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1441, allocations: 234.3 kB / 0.644 GB, free: 2.703 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1442, allocations: 81.23 kB / 0.6441 GB, free: 2.605 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1443, allocations: 57.81 kB / 0.6442 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1443, allocations: 0 / 0.6442 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.1446, allocations: 115.1 kB / 0.6443 GB, free: 2.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1446, allocations: 4 kB / 0.6443 GB, free: 2.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003533/0.145, allocations: 185.9 kB / 0.6444 GB, free: 2.223 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1451, allocations: 89.09 kB / 0.6445 GB, free: 2.117 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1453, allocations: 151.6 kB / 0.6447 GB, free: 1.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1453, allocations: 33.7 kB / 0.6447 GB, free: 1.922 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1454, allocations: 104.5 kB / 0.6448 GB, free: 1.812 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.1455, allocations: 43.5 kB / 0.6448 GB, free: 1.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.1456, allocations: 45.7 kB / 0.6449 GB, free: 1.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1457, allocations: 330.8 kB / 0.6452 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.1458, allocations: 39.98 kB / 0.6452 GB, free: 1.348 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.146, allocations: 205 kB / 0.6454 GB, free: 1.094 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1461, allocations: 93.64 kB / 0.6455 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1461, allocations: 0 / 0.6455 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002158/0.1463, allocations: 165.3 kB / 0.6457 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1464, allocations: 8 kB / 0.6457 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.1464, allocations: 4 kB / 0.6457 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1464, allocations: 3.984 kB / 0.6457 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1465, allocations: 12 kB / 0.6457 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1465, allocations: 4.094 kB / 0.6457 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.1468, allocations: 71.84 kB / 0.6458 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1468, allocations: 11.98 kB / 0.6458 GB, free: 0.7148 MB / 442.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.000115/0.1469, allocations: 135.1 kB / 0.6459 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.1469, allocations: 15.75 kB / 0.6459 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.147, allocations: 12.72 kB / 0.646 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.147, allocations: 4 kB / 0.646 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.147, allocations: 0 / 0.646 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.147, allocations: 7.984 kB / 0.646 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1472, allocations: 193.6 kB / 0.6461 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1472, allocations: 3.938 kB / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1472, allocations: 11.98 kB / 0.6462 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1472, allocations: 0 / 0.6462 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1473, allocations: 0 / 0.6462 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1473, allocations: 7.938 kB / 0.6462 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1473, allocations: 0 / 0.6462 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.148, allocations: 0.7847 MB / 0.6469 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.148, allocations: 92.86 kB / 0.647 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1481, allocations: 4 kB / 0.647 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.1482, allocations: 7.984 kB / 0.647 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1482, allocations: 4 kB / 0.647 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1482, allocations: 4 kB / 0.647 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1483, allocations: 124.7 kB / 0.6472 GB, free: 15.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1484, allocations: 0 / 0.6472 GB, free: 15.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.149, allocations: 71.98 kB / 0.6472 GB, free: 15.1 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.0002811/0.1493, allocations: 165.8 kB / 0.6474 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1495, allocations: 167.3 kB / 0.6475 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1495, allocations: 0 / 0.6475 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.1496, allocations: 43.92 kB / 0.6476 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.1498, allocations: 13.5 kB / 0.6476 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1503, allocations: 392 kB / 0.648 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1506, allocations: 0.7083 MB / 0.6487 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.1506, allocations: 4.859 kB / 0.6487 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.1506, allocations: 15.44 kB / 0.6487 GB, free: 13.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1507, allocations: 0 / 0.6487 GB, free: 13.52 MB / 458.7 MB Notification: Performance of Templates: time 0.004832/0.1555, allocations: 2.464 MB / 0.6511 GB, free: 11.08 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)