Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001572/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001964/0.001964, allocations: 190.7 kB / 16.14 MB, free: 6.656 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 62.84 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4497, allocations: 80.2 MB / 0.5794 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002984/0.4527, allocations: 1.541 MB / 0.5809 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.454, allocations: 0.7264 MB / 0.5816 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.454, allocations: 1.156 kB / 0.5816 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.348e-05/0.4542, allocations: 8.484 kB / 0.5816 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.4542, allocations: 12.3 kB / 0.5817 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.4551, allocations: 292.8 kB / 0.5819 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.4554, allocations: 165.7 kB / 0.5821 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.4554, allocations: 14.55 kB / 0.5821 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.4555, allocations: 62.91 kB / 0.5822 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4557, allocations: 53.11 kB / 0.5822 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.4557, allocations: 6.344 kB / 0.5822 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.4561, allocations: 248.3 kB / 0.5825 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.4562, allocations: 34.31 kB / 0.5825 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.4563, allocations: 57.41 kB / 0.5825 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.4568, allocations: 297.6 kB / 0.5828 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4568, allocations: 0 / 0.5828 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.4568, allocations: 0 / 0.5828 GB, free: 2.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.4568, allocations: 1.062 kB / 0.5828 GB, free: 2.48 MB / 430.1 MB 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.0006377/0.4574, allocations: 474.2 kB / 0.5833 GB, free: 2.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4575, allocations: 9.469 kB / 0.5833 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.4575, allocations: 11.25 kB / 0.5833 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4578, allocations: 218.1 kB / 0.5835 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4578, allocations: 5.766 kB / 0.5835 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4578, allocations: 13.38 kB / 0.5835 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.458, allocations: 95.08 kB / 0.5836 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4581, allocations: 1.25 kB / 0.5836 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4581, allocations: 12.53 kB / 0.5836 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4581, allocations: 2.219 kB / 0.5836 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.4582, allocations: 41.3 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.4585, allocations: 249.6 kB / 0.5839 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4586, allocations: 111 kB / 0.584 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4587, allocations: 69.2 kB / 0.5841 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4588, allocations: 5.688 kB / 0.5841 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.459, allocations: 139.5 kB / 0.5842 GB, free: 1.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.4591, allocations: 5.375 kB / 0.5842 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004772/0.4595, allocations: 220.2 kB / 0.5844 GB, free: 1.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4596, allocations: 116.6 kB / 0.5845 GB, free: 1.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4597, allocations: 141.8 kB / 0.5847 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.4598, allocations: 36.14 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.4598, allocations: 95.41 kB / 0.5848 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4599, allocations: 56.67 kB / 0.5849 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.46, allocations: 60.42 kB / 0.5849 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.4601, allocations: 332 kB / 0.5852 GB, free: 396 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.4602, allocations: 47.77 kB / 0.5853 GB, free: 380 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4604, allocations: 180.9 kB / 0.5855 GB, free: 232 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4606, allocations: 136.8 kB / 0.5856 GB, free: 156 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4606, allocations: 0.6562 kB / 0.5856 GB, free: 156 kB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003216/0.4609, allocations: 195.9 kB / 0.5858 GB, free: 64 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.461, allocations: 6.266 kB / 0.5858 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.461, allocations: 4.891 kB / 0.5858 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.461, allocations: 2.094 kB / 0.5858 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4611, allocations: 15.95 kB / 0.5858 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4611, allocations: 6.438 kB / 0.5858 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4614, allocations: 54.52 kB / 0.5859 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4614, allocations: 9.672 kB / 0.5859 GB, free: 32 kB / 430.1 MB 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.000166/0.4616, allocations: 141.8 kB / 0.586 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4616, allocations: 13.25 kB / 0.586 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.4617, allocations: 18.77 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.4617, allocations: 1.344 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4617, allocations: 1 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4617, allocations: 6.766 kB / 0.586 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4619, allocations: 207.4 kB / 0.5862 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.462, allocations: 1.062 kB / 0.5862 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.462, allocations: 9.312 kB / 0.5862 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.462, allocations: 1.984 kB / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.462, allocations: 7.766 kB / 0.5863 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4621, allocations: 1.375 kB / 0.5863 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4621, allocations: 2.172 kB / 0.5863 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.4625, allocations: 214.7 kB / 0.5865 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.4625, allocations: 93.86 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.4626, allocations: 3.641 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.4626, allocations: 12.7 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.4627, allocations: 7.719 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4627, allocations: 4.938 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.4628, allocations: 108.4 kB / 0.5867 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4628, allocations: 4 kB / 0.5867 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.4633, allocations: 106.9 kB / 0.5868 GB, free: 15.3 MB / 446.1 MB 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.0004018/0.4637, allocations: 197 kB / 0.587 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.4642, allocations: 223.2 kB / 0.5872 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4642, allocations: 0 / 0.5872 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4643, allocations: 55.31 kB / 0.5872 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.4645, allocations: 12.03 kB / 0.5873 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.4651, allocations: 270.1 kB / 0.5875 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4655, allocations: 0.7104 MB / 0.5882 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.4655, allocations: 16.06 kB / 0.5882 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.4656, allocations: 17.91 kB / 0.5882 GB, free: 14.1 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4656, allocations: 0 / 0.5882 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Templates: time 0.007727/0.4733, allocations: 2.948 MB / 0.5911 GB, free: 13.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)