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.009329/0.00933, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.00211/0.00211, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9903/0.9903, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.89 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5504, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00233/0.5527, allocations: 1.421 MB / 0.666 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.5535, allocations: 492.1 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.5536, allocations: 1.219 kB / 0.6665 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.498e-05/0.5536, allocations: 9.547 kB / 0.6665 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.5537, allocations: 14.55 kB / 0.6665 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.5544, allocations: 234 kB / 0.6667 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.5546, allocations: 144 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.5547, allocations: 3.969 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.5547, allocations: 56.58 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.5548, allocations: 42.11 kB / 0.6669 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.5549, allocations: 9.75 kB / 0.667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.5551, allocations: 175.2 kB / 0.6671 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.5552, allocations: 38.77 kB / 0.6672 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.5553, allocations: 48.14 kB / 0.6672 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.5556, allocations: 243.8 kB / 0.6674 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5556, allocations: 0 / 0.6674 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5556, allocations: 0 / 0.6674 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5556, allocations: 0 / 0.6674 GB, free: 5.477 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.0005254/0.5561, allocations: 444.7 kB / 0.6679 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5562, allocations: 14.53 kB / 0.6679 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.5563, allocations: 19.28 kB / 0.6679 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.5564, allocations: 209.7 kB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5565, allocations: 5.656 kB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.5565, allocations: 12.91 kB / 0.6681 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.5567, allocations: 79.27 kB / 0.6682 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5567, allocations: 192 / 0.6682 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5567, allocations: 5.062 kB / 0.6682 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5567, allocations: 1.25 kB / 0.6682 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.5568, allocations: 50.33 kB / 0.6682 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.557, allocations: 229.4 kB / 0.6685 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5571, allocations: 82.2 kB / 0.6685 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.5572, allocations: 53.44 kB / 0.6686 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5572, allocations: 5.219 kB / 0.6686 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5573, allocations: 118.5 kB / 0.6687 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.5573, allocations: 0 / 0.6687 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003328/0.5577, allocations: 182.3 kB / 0.6689 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5577, allocations: 90.59 kB / 0.669 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5578, allocations: 149.7 kB / 0.6691 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5579, allocations: 46.41 kB / 0.6692 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.5579, allocations: 98.73 kB / 0.6692 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.558, allocations: 32.92 kB / 0.6693 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.558, allocations: 48.55 kB / 0.6693 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.5581, allocations: 326.6 kB / 0.6696 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.5582, allocations: 44.72 kB / 0.6697 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.5584, allocations: 196.4 kB / 0.6699 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.5585, allocations: 98.86 kB / 0.67 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5585, allocations: 0 / 0.67 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002107/0.5587, allocations: 166 kB / 0.6701 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5587, allocations: 12.75 kB / 0.6701 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.5588, allocations: 3.406 kB / 0.6701 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5588, allocations: 1.25 kB / 0.6701 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.5589, allocations: 18.42 kB / 0.6702 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5589, allocations: 1.25 kB / 0.6702 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.5591, allocations: 73.41 kB / 0.6702 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5592, allocations: 3.469 kB / 0.6702 GB, free: 2.996 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 9.509e-05/0.5593, allocations: 133.6 kB / 0.6704 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.5593, allocations: 19.97 kB / 0.6704 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.5593, allocations: 12.81 kB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5593, allocations: 1.531 kB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5593, allocations: 7.938 kB / 0.6704 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5593, allocations: 1.156 kB / 0.6704 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5594, allocations: 194.2 kB / 0.6706 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5595, allocations: 5.188 kB / 0.6706 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.5595, allocations: 6.438 kB / 0.6706 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5595, allocations: 0 / 0.6706 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5595, allocations: 6.516 kB / 0.6706 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5595, allocations: 1.094 kB / 0.6706 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5595, allocations: 0 / 0.6706 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.5597, allocations: 180.1 kB / 0.6708 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.5598, allocations: 88.98 kB / 0.6709 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.5598, allocations: 5.344 kB / 0.6709 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/0.5598, allocations: 11.05 kB / 0.6709 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.5599, allocations: 6.797 kB / 0.6709 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5599, allocations: 2.625 kB / 0.6709 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.56, allocations: 116.8 kB / 0.671 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.032e-06/0.56, allocations: 4 kB / 0.671 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003096/0.5603, allocations: 81.58 kB / 0.6711 GB, free: 2.25 MB / 0.4981 GB 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.000233/0.5605, allocations: 161.9 kB / 0.6712 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.5608, allocations: 162.5 kB / 0.6714 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5608, allocations: 0 / 0.6714 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.5609, allocations: 47.42 kB / 0.6714 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.5611, allocations: 13.48 kB / 0.6714 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.5614, allocations: 223.4 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.5616, allocations: 0.7053 MB / 0.6723 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.5616, allocations: 7.391 kB / 0.6724 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.5617, allocations: 12 kB / 0.6724 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.5617, allocations: 0 / 0.6724 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.005398/0.5671, allocations: 2.52 MB / 0.6748 GB, free: 15.85 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)