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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001118/0.001118, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7952/0.7952, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 66.05 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002301/0.146, allocations: 1.403 MB / 0.6617 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.1468, allocations: 0.4982 MB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.1469, allocations: 0 / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.1469, allocations: 7.938 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.147, allocations: 11.86 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.1477, allocations: 232.9 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1478, allocations: 147.7 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1479, allocations: 4 kB / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.148, allocations: 59.89 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.1481, allocations: 43.83 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1481, allocations: 8 kB / 0.6627 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1484, allocations: 171.8 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.1484, allocations: 35.91 kB / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.1485, allocations: 51.78 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1488, allocations: 231.5 kB / 0.6631 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1488, allocations: 0 / 0.6631 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1488, allocations: 0 / 0.6631 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1488, allocations: 4 kB / 0.6631 GB, free: 7.387 MB / 0.4981 GB 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.0005275/0.1494, allocations: 447 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1494, allocations: 12.02 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.1495, allocations: 12.84 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1496, allocations: 212 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1497, allocations: 8.375 kB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1497, allocations: 12.38 kB / 0.6638 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1498, allocations: 83.95 kB / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1499, allocations: 192 / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1499, allocations: 7.922 kB / 0.6639 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1499, allocations: 0 / 0.6639 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.15, allocations: 39.92 kB / 0.6639 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.1502, allocations: 230.5 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1503, allocations: 89.17 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.1504, allocations: 53.81 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1504, allocations: 0 / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1506, allocations: 105.1 kB / 0.6644 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1506, allocations: 0 / 0.6644 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003366/0.151, allocations: 201.7 kB / 0.6646 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.151, allocations: 85.11 kB / 0.6647 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1511, allocations: 147.7 kB / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1512, allocations: 41.64 kB / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.1513, allocations: 100.5 kB / 0.6649 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1513, allocations: 31.56 kB / 0.665 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.1514, allocations: 53.69 kB / 0.665 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1515, allocations: 330.8 kB / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.1516, allocations: 43.98 kB / 0.6654 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1518, allocations: 198.8 kB / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.152, allocations: 99.27 kB / 0.6657 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.152, allocations: 0 / 0.6657 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002417/0.1522, allocations: 175.7 kB / 0.6658 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1522, allocations: 4 kB / 0.6658 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.1523, allocations: 4 kB / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1523, allocations: 0 / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.1524, allocations: 11.94 kB / 0.6658 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1524, allocations: 0 / 0.6658 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.1527, allocations: 79.75 kB / 0.6659 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1527, allocations: 4 kB / 0.6659 GB, free: 4.207 MB / 0.4981 GB 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.0001284/0.1528, allocations: 138.9 kB / 0.6661 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1528, allocations: 11.84 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.1529, allocations: 16.7 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1529, allocations: 7.938 kB / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1529, allocations: 0 / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.153, allocations: 85.02 kB / 0.6662 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.153, allocations: 4 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.153, allocations: 7.984 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1531, allocations: 3.938 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003182/0.1534, allocations: 312.1 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003518/0.1538, allocations: 401.8 kB / 0.6669 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.525e-05/0.1539, allocations: 44.16 kB / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.154, allocations: 109 kB / 0.667 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.154, allocations: 4 kB / 0.667 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.1547, allocations: 271.3 kB / 0.6673 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006255/0.1554, allocations: 0.6357 MB / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.005751/0.1611, allocations: 2.591 MB / 0.6704 GB, free: 15.5 MB / 0.5137 GB 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)