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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.0011/0.0011, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7894/0.7894, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 60.38 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 80.94 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002341/0.1512, allocations: 1.399 MB / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.152, allocations: 0.4983 MB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.1521, allocations: 0 / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.1522, allocations: 7.938 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.1522, allocations: 11.86 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.1529, allocations: 227 kB / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1531, allocations: 151.7 kB / 0.6675 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1531, allocations: 11.98 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.1532, allocations: 51.91 kB / 0.6676 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.1533, allocations: 47.81 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1533, allocations: 8 kB / 0.6676 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.1536, allocations: 167.8 kB / 0.6678 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.1536, allocations: 35.91 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.1537, allocations: 55.77 kB / 0.6679 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.154, allocations: 239.4 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.154, allocations: 0 / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.154, allocations: 0 / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.154, allocations: 0 / 0.6681 GB, free: 2.949 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.0005557/0.1546, allocations: 454.8 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1546, allocations: 9.109 kB / 0.6685 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.1547, allocations: 12.84 kB / 0.6686 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1549, allocations: 200.2 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1549, allocations: 16.38 kB / 0.6688 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.155, allocations: 12.38 kB / 0.6688 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1551, allocations: 83.94 kB / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1551, allocations: 192 / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1551, allocations: 7.875 kB / 0.6689 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1552, allocations: 0 / 0.6689 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.1552, allocations: 35.98 kB / 0.6689 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.1555, allocations: 238.4 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1556, allocations: 81.19 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.1557, allocations: 57.8 kB / 0.6693 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.1557, allocations: 0 / 0.6693 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1559, allocations: 113 kB / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1559, allocations: 0 / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003085/0.1562, allocations: 193.3 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1563, allocations: 81.11 kB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1564, allocations: 159.9 kB / 0.6698 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1564, allocations: 33.7 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1565, allocations: 104.5 kB / 0.6699 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1565, allocations: 35.53 kB / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.1566, allocations: 53.7 kB / 0.67 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1568, allocations: 326.8 kB / 0.6703 GB, free: 444 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.1568, allocations: 39.98 kB / 0.6703 GB, free: 404 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.157, allocations: 197.1 kB / 0.6705 GB, free: 152 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1572, allocations: 97.58 kB / 0.6706 GB, free: 48 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1572, allocations: 0 / 0.6706 GB, free: 48 kB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002266/0.1574, allocations: 165.4 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1574, allocations: 4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.1574, allocations: 4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1575, allocations: 4 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.1575, allocations: 7.938 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1576, allocations: 8.625 kB / 0.6708 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1578, allocations: 71.83 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1578, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 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.0001185/0.158, allocations: 137.9 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.158, allocations: 23.73 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.158, allocations: 12.72 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1581, allocations: 11.88 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1581, allocations: 0 / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1581, allocations: 85.02 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1581, allocations: 0 / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.1582, allocations: 7.984 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1582, allocations: 4 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002692/0.1585, allocations: 320 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000297/0.1588, allocations: 393.9 kB / 0.6718 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.268e-05/0.1589, allocations: 43.97 kB / 0.6719 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.041e-05/0.159, allocations: 117.5 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Backend: time 3e-07/0.159, allocations: 0 / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006749/0.1597, allocations: 267.6 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005167/0.1602, allocations: 0.6357 MB / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.005193/0.1654, allocations: 2.602 MB / 0.6754 GB, free: 11.06 MB / 0.5137 GB 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)