Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01014/0.01015, allocations: 94.11 kB / 15.73 MB, free: 6.484 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.00203/0.00203, allocations: 190.9 kB / 16.67 MB, free: 6.391 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.5476, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004917/0.5526, allocations: 1.478 MB / 0.666 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.5548, allocations: 0.6859 MB / 0.6667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.5549, allocations: 1.25 kB / 0.6667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.5551, allocations: 17.05 kB / 0.6667 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.5553, allocations: 22.31 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.5571, allocations: 352.9 kB / 0.6671 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.5576, allocations: 174.5 kB / 0.6673 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.5577, allocations: 5.938 kB / 0.6673 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.5579, allocations: 69.48 kB / 0.6673 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.5581, allocations: 48.88 kB / 0.6674 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.5581, allocations: 14.59 kB / 0.6674 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.5588, allocations: 246.4 kB / 0.6676 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.5589, allocations: 38.38 kB / 0.6677 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.5591, allocations: 62.02 kB / 0.6677 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.56, allocations: 312.1 kB / 0.668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.56, allocations: 0 / 0.668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.56, allocations: 1.375 kB / 0.668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.56, allocations: 0 / 0.668 GB, free: 5.078 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001044/0.5611, allocations: 480.4 kB / 0.6685 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5611, allocations: 9.188 kB / 0.6685 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.5612, allocations: 15.66 kB / 0.6685 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.5615, allocations: 208.8 kB / 0.6687 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5616, allocations: 9.438 kB / 0.6687 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.5616, allocations: 16.42 kB / 0.6687 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.5619, allocations: 95.36 kB / 0.6688 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5619, allocations: 8.125 kB / 0.6688 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.562, allocations: 3.938 kB / 0.6688 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.562, allocations: 5.484 kB / 0.6688 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.5622, allocations: 49.78 kB / 0.6689 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.5625, allocations: 244.9 kB / 0.6691 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.5628, allocations: 111 kB / 0.6692 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.563, allocations: 71.31 kB / 0.6693 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.563, allocations: 5.156 kB / 0.6693 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.5635, allocations: 136.6 kB / 0.6694 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.5635, allocations: 0 / 0.6694 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0007029/0.5642, allocations: 221.6 kB / 0.6696 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.5643, allocations: 122.4 kB / 0.6698 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5645, allocations: 139.9 kB / 0.6699 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.5646, allocations: 35.02 kB / 0.6699 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.5646, allocations: 101.9 kB / 0.67 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.5647, allocations: 59.19 kB / 0.6701 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.5649, allocations: 64.53 kB / 0.6701 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.565, allocations: 330.4 kB / 0.6705 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5651, allocations: 54.03 kB / 0.6705 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.5655, allocations: 180.5 kB / 0.6707 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.5658, allocations: 137.3 kB / 0.6708 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5658, allocations: 0 / 0.6708 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004694/0.5663, allocations: 201.7 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5663, allocations: 5.438 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.5664, allocations: 2.875 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5664, allocations: 2.594 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5666, allocations: 17.75 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5666, allocations: 1.531 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.5669, allocations: 58.25 kB / 0.6711 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.567, allocations: 5.344 kB / 0.6711 GB, free: 2.375 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001409/0.5671, allocations: 137.6 kB / 0.6712 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.5672, allocations: 17.62 kB / 0.6712 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.5672, allocations: 14.95 kB / 0.6713 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5672, allocations: 2.75 kB / 0.6713 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5672, allocations: 9.344 kB / 0.6713 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5673, allocations: 0 / 0.6713 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.5674, allocations: 209.5 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5675, allocations: 1.125 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.5675, allocations: 8.688 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5675, allocations: 1.062 kB / 0.6715 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.5676, allocations: 7.688 kB / 0.6715 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5676, allocations: 1.5 kB / 0.6715 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5676, allocations: 0 / 0.6715 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.568, allocations: 221.1 kB / 0.6717 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.568, allocations: 88.81 kB / 0.6718 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.5681, allocations: 2.312 kB / 0.6718 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.5682, allocations: 15.92 kB / 0.6718 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.5682, allocations: 7.641 kB / 0.6718 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5683, allocations: 9.531 kB / 0.6718 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.5683, allocations: 99.83 kB / 0.6719 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5684, allocations: 5.094 kB / 0.6719 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006424/0.569, allocations: 102 kB / 0.672 GB, free: 1.598 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004623/0.5695, allocations: 202.7 kB / 0.6722 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.57, allocations: 220 kB / 0.6724 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.57, allocations: 0 / 0.6724 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5702, allocations: 60.47 kB / 0.6725 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.5705, allocations: 8.312 kB / 0.6725 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.5712, allocations: 252.9 kB / 0.6727 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.5713, allocations: 0.7088 MB / 0.6734 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.555e-05/0.5714, allocations: 12.72 kB / 0.6734 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.5715, allocations: 14.09 kB / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.5715, allocations: 1.375 kB / 0.6734 GB, free: 356 kB / 0.4981 GB Notification: Performance of Templates: time 0.01106/0.5826, allocations: 3.09 MB / 0.6765 GB, free: 14.78 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)