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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7285/0.7285, allocations: 130.6 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 221.3 MB / 396.8 MB, free: 9.172 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103.5 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.867e-05, allocations: 3.266 kB / 0.5551 GB, free: 86.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7442/0.9423, allocations: 111.5 MB / 0.7436 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.9426, allocations: 74.45 kB / 0.7437 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.9561, allocations: 5.032 MB / 0.7486 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9562, allocations: 0 / 0.7486 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.9562, allocations: 3.812 kB / 0.7486 GB, free: 27.77 MB / 0.5105 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.0006054/0.9568, allocations: 456.7 kB / 0.749 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9568, allocations: 19.38 kB / 0.749 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.9569, allocations: 17.48 kB / 0.749 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.9572, allocations: 211.1 kB / 0.7492 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.9573, allocations: 7.188 kB / 0.7493 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.9573, allocations: 14.62 kB / 0.7493 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.9575, allocations: 103.8 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9575, allocations: 0 / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.9576, allocations: 3.625 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9576, allocations: 0 / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/0.9577, allocations: 48.95 kB / 0.7494 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.958, allocations: 257 kB / 0.7497 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.9581, allocations: 112.6 kB / 0.7498 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.9582, allocations: 68.17 kB / 0.7498 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.9582, allocations: 3.812 kB / 0.7498 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.9584, allocations: 144.5 kB / 0.75 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.9584, allocations: 0 / 0.75 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0003423/0.9588, allocations: 182.2 kB / 0.7502 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.9589, allocations: 120.9 kB / 0.7503 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.959, allocations: 130.2 kB / 0.7504 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.9591, allocations: 33.05 kB / 0.7504 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.9591, allocations: 102.4 kB / 0.7505 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.9592, allocations: 62.33 kB / 0.7506 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.9592, allocations: 0 / 0.7506 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9594, allocations: 331.1 kB / 0.7509 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.9595, allocations: 51.56 kB / 0.7509 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.9597, allocations: 198.1 kB / 0.7511 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.9598, allocations: 62.75 kB / 0.7512 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9598, allocations: 7.938 kB / 0.7512 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000254/0.96, allocations: 192.9 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9601, allocations: 7.656 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.9601, allocations: 7.141 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9601, allocations: 3.844 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.9602, allocations: 11.78 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9602, allocations: 3.844 kB / 0.7514 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.9604, allocations: 55.06 kB / 0.7515 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.9605, allocations: 7.688 kB / 0.7515 GB, free: 25.74 MB / 0.5105 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.9606, allocations: 141.7 kB / 0.7516 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.9606, allocations: 10.86 kB / 0.7516 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.9607, allocations: 20.28 kB / 0.7516 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9607, allocations: 3.875 kB / 0.7516 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9607, allocations: 0 / 0.7516 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9607, allocations: 3.938 kB / 0.7516 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.9609, allocations: 217.9 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9609, allocations: 3.812 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.9609, allocations: 11.53 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9609, allocations: 3.938 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.961, allocations: 3.875 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.961, allocations: 3.188 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.961, allocations: 0 / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.9613, allocations: 237.1 kB / 0.7521 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.9613, allocations: 88.8 kB / 0.7522 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.9614, allocations: 3.75 kB / 0.7522 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.9614, allocations: 10.48 kB / 0.7522 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.9615, allocations: 6.734 kB / 0.7522 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.9615, allocations: 15.38 kB / 0.7522 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.9616, allocations: 109 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9616, allocations: 0 / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004046/0.962, allocations: 121.3 kB / 0.7524 GB, free: 25.06 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003251/0.9623, allocations: 209 kB / 0.7526 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.9627, allocations: 213.9 kB / 0.7528 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9627, allocations: 0 / 0.7528 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.9628, allocations: 57.05 kB / 0.7529 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.9629, allocations: 18.81 kB / 0.7529 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.9633, allocations: 179.3 kB / 0.7531 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.9638, allocations: 0.7129 MB / 0.7538 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.9638, allocations: 17.02 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.9639, allocations: 15.12 kB / 0.7538 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.9639, allocations: 4 kB / 0.7538 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.005924/0.9698, allocations: 2.832 MB / 0.7566 GB, free: 23.71 MB / 0.5105 GB 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)