Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, 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.8643/0.8643, allocations: 130.5 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.572/1.572, allocations: 221.3 MB / 396.8 MB, free: 9.191 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.0009582/0.0009584, allocations: 103.2 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.353e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5866/0.7583, allocations: 111.4 MB / 0.7435 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.7585, allocations: 73.12 kB / 0.7436 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.7687, allocations: 3.959 MB / 0.7475 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7687, allocations: 0 / 0.7475 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7688, allocations: 3.938 kB / 0.7475 GB, free: 27.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004879/0.7693, allocations: 428 kB / 0.7479 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7693, allocations: 7.688 kB / 0.7479 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.7694, allocations: 11.56 kB / 0.7479 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.7697, allocations: 215.6 kB / 0.7481 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7697, allocations: 14.02 kB / 0.7481 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.7697, allocations: 15.66 kB / 0.7481 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.7699, allocations: 86.36 kB / 0.7482 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7699, allocations: 0 / 0.7482 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.77, allocations: 0 / 0.7482 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.77, allocations: 3.875 kB / 0.7482 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.7701, allocations: 43.72 kB / 0.7483 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.7703, allocations: 249.8 kB / 0.7485 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.7704, allocations: 77.81 kB / 0.7486 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.7705, allocations: 57.78 kB / 0.7486 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.7705, allocations: 3.812 kB / 0.7486 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.7707, allocations: 118.5 kB / 0.7487 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.7707, allocations: 0 / 0.7487 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0002861/0.771, allocations: 166.8 kB / 0.7489 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.771, allocations: 88.52 kB / 0.749 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.7711, allocations: 139.2 kB / 0.7491 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.7712, allocations: 33.2 kB / 0.7492 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.7713, allocations: 105.5 kB / 0.7493 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.7713, allocations: 37.3 kB / 0.7493 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.7713, allocations: 0 / 0.7493 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7715, allocations: 327.5 kB / 0.7496 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.7715, allocations: 43 kB / 0.7496 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.7717, allocations: 216.4 kB / 0.7499 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.7718, allocations: 67.98 kB / 0.7499 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7718, allocations: 0 / 0.7499 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002109/0.772, allocations: 163.4 kB / 0.7501 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.772, allocations: 3.844 kB / 0.7501 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.7721, allocations: 6.938 kB / 0.7501 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7721, allocations: 3.953 kB / 0.7501 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.7722, allocations: 15.09 kB / 0.7501 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7722, allocations: 4.031 kB / 0.7501 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.7725, allocations: 93.5 kB / 0.7502 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.7725, allocations: 10.61 kB / 0.7502 GB, free: 25.85 MB / 0.5105 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001047/0.7726, allocations: 130 kB / 0.7503 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.7726, allocations: 7.719 kB / 0.7503 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.7727, allocations: 13.75 kB / 0.7503 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7727, allocations: 2.812 kB / 0.7504 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7727, allocations: 3.953 kB / 0.7504 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.7727, allocations: 3.938 kB / 0.7504 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7728, allocations: 192.9 kB / 0.7505 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7728, allocations: 6.859 kB / 0.7505 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.7729, allocations: 7.688 kB / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7729, allocations: 0 / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.7729, allocations: 3.688 kB / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7729, allocations: 3.656 kB / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7729, allocations: 0 / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.7731, allocations: 211.1 kB / 0.7508 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.7732, allocations: 86.67 kB / 0.7508 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7732, allocations: 3.875 kB / 0.7509 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.7733, allocations: 7.875 kB / 0.7509 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.7733, allocations: 10.84 kB / 0.7509 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.7733, allocations: 14.31 kB / 0.7509 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.995e-05/0.7734, allocations: 107.5 kB / 0.751 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7734, allocations: 0 / 0.751 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003178/0.7737, allocations: 86.03 kB / 0.7511 GB, free: 25.21 MB / 0.5105 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) * 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 (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.0002581/0.774, allocations: 181.2 kB / 0.7512 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.7742, allocations: 160.2 kB / 0.7514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7743, allocations: 0 / 0.7514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.7743, allocations: 48.69 kB / 0.7514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.7744, allocations: 5.578 kB / 0.7514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.7748, allocations: 163.6 kB / 0.7516 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.7751, allocations: 0.7099 MB / 0.7523 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.7752, allocations: 4.484 kB / 0.7523 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.7752, allocations: 17.78 kB / 0.7523 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.7752, allocations: 0 / 0.7523 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.004941/0.7801, allocations: 2.309 MB / 0.7546 GB, free: 24.03 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)