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.0009522/0.0009521, allocations: 169.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 130.7 MB / 138.7 MB, free: 3.613 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 99.16 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.248e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.47, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.6094, allocations: 110.7 MB / 0.7363 GB, free: 16 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.6097, allocations: 72.03 kB / 0.7364 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.6205, allocations: 3.946 MB / 0.7402 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6206, allocations: 0 / 0.7402 GB, free: 12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6206, allocations: 4 kB / 0.7402 GB, free: 11.99 MB / 0.5261 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.0005165/0.6211, allocations: 428.2 kB / 0.7406 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6212, allocations: 8.031 kB / 0.7406 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.6212, allocations: 11.91 kB / 0.7407 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.6216, allocations: 222.8 kB / 0.7409 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6216, allocations: 0 / 0.7409 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.6216, allocations: 8 kB / 0.7409 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/0.6218, allocations: 39.97 kB / 0.7409 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6219, allocations: 95.19 kB / 0.741 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6219, allocations: 4 kB / 0.741 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.6219, allocations: 0 / 0.741 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.622, allocations: 3.953 kB / 0.741 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.6222, allocations: 211 kB / 0.7412 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6224, allocations: 77.25 kB / 0.7413 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.6224, allocations: 58.61 kB / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.6225, allocations: 4 kB / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.6227, allocations: 109 kB / 0.7414 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.6227, allocations: 0 / 0.7414 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0003902/0.6231, allocations: 165.4 kB / 0.7416 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.6231, allocations: 81.11 kB / 0.7417 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.6233, allocations: 143 kB / 0.7418 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.6233, allocations: 25.7 kB / 0.7418 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.6234, allocations: 104.5 kB / 0.7419 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.6235, allocations: 35.55 kB / 0.742 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.6235, allocations: 0 / 0.742 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6236, allocations: 322.8 kB / 0.7423 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.6237, allocations: 40.17 kB / 0.7423 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.624, allocations: 207 kB / 0.7425 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.6242, allocations: 76.3 kB / 0.7426 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6242, allocations: 0 / 0.7426 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002692/0.6244, allocations: 161.4 kB / 0.7427 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6245, allocations: 4 kB / 0.7427 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.6245, allocations: 4 kB / 0.7428 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.6245, allocations: 0 / 0.7428 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.6246, allocations: 16.03 kB / 0.7428 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6246, allocations: 7.953 kB / 0.7428 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.6249, allocations: 91.19 kB / 0.7429 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.6249, allocations: 11.97 kB / 0.7429 GB, free: 8.984 MB / 0.5261 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.0001097/0.6251, allocations: 114.6 kB / 0.743 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.6251, allocations: 7.906 kB / 0.743 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.6251, allocations: 12.62 kB / 0.743 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6251, allocations: 0 / 0.743 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.6251, allocations: 8 kB / 0.743 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6252, allocations: 3.953 kB / 0.743 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.6253, allocations: 166.2 kB / 0.7432 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6253, allocations: 4 kB / 0.7432 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.6254, allocations: 7.984 kB / 0.7432 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6254, allocations: 0 / 0.7432 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6254, allocations: 4 kB / 0.7432 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6254, allocations: 0 / 0.7432 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6254, allocations: 3.938 kB / 0.7432 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.6257, allocations: 213.3 kB / 0.7434 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.6258, allocations: 89 kB / 0.7435 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.6258, allocations: 0 / 0.7435 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.6259, allocations: 4 kB / 0.7435 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.6259, allocations: 7.984 kB / 0.7435 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.626, allocations: 8 kB / 0.7435 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.626, allocations: 109.3 kB / 0.7436 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6261, allocations: 8 kB / 0.7436 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003321/0.6264, allocations: 79.86 kB / 0.7437 GB, free: 8.07 MB / 0.5261 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.0002951/0.6267, allocations: 175 kB / 0.7439 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.627, allocations: 155.4 kB / 0.744 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.627, allocations: 0 / 0.744 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.6271, allocations: 43.92 kB / 0.744 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.6272, allocations: 4 kB / 0.744 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.6276, allocations: 153.8 kB / 0.7442 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.628, allocations: 0.7041 MB / 0.7449 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.628, allocations: 12.66 kB / 0.7449 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.628, allocations: 11.44 kB / 0.7449 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.628, allocations: 0 / 0.7449 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of Templates: time 0.004822/0.6329, allocations: 2.216 MB / 0.7471 GB, free: 4.562 MB / 0.5261 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)