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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007716/0.007717, allocations: 104.5 kB / 15.73 MB, free: 6.039 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.001323/0.001324, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7993/0.7993, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 0.5813 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4757, allocations: 80.2 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002664/0.4784, allocations: 1.412 MB / 0.661 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.4792, allocations: 0.4939 MB / 0.6615 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.4793, allocations: 1.281 kB / 0.6615 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.764e-05/0.4794, allocations: 7.156 kB / 0.6615 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.4795, allocations: 8.516 kB / 0.6615 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.4803, allocations: 235.8 kB / 0.6617 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.4805, allocations: 153.5 kB / 0.6619 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.4806, allocations: 9.391 kB / 0.6619 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.4806, allocations: 53.61 kB / 0.6619 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.4807, allocations: 43.98 kB / 0.662 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.4808, allocations: 10.09 kB / 0.662 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.4811, allocations: 168.9 kB / 0.6622 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.4812, allocations: 33.5 kB / 0.6622 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.4813, allocations: 54.72 kB / 0.6622 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.4817, allocations: 237.8 kB / 0.6625 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4817, allocations: 1.375 kB / 0.6625 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4817, allocations: 0 / 0.6625 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4817, allocations: 0 / 0.6625 GB, free: 8.543 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006312/0.4824, allocations: 449.3 kB / 0.6629 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4824, allocations: 8.75 kB / 0.6629 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.4825, allocations: 12.34 kB / 0.6629 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4827, allocations: 214.7 kB / 0.6631 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4827, allocations: 10 kB / 0.6631 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4828, allocations: 13.91 kB / 0.6631 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.483, allocations: 85.91 kB / 0.6632 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.483, allocations: 192 / 0.6632 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.483, allocations: 5.156 kB / 0.6632 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.483, allocations: 1.031 kB / 0.6632 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.4831, allocations: 38.36 kB / 0.6633 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.4833, allocations: 230.2 kB / 0.6635 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4834, allocations: 81.81 kB / 0.6636 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.4835, allocations: 57.3 kB / 0.6636 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-06/0.4835, allocations: 1.094 kB / 0.6636 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.4837, allocations: 107.9 kB / 0.6637 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.4837, allocations: 0 / 0.6637 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003989/0.4841, allocations: 203 kB / 0.6639 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4842, allocations: 82.61 kB / 0.664 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4843, allocations: 146.9 kB / 0.6641 GB, free: 7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4844, allocations: 35.08 kB / 0.6642 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.4844, allocations: 102.9 kB / 0.6643 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.4845, allocations: 33.3 kB / 0.6643 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.4845, allocations: 55.33 kB / 0.6644 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.4846, allocations: 327.2 kB / 0.6647 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.4847, allocations: 40.95 kB / 0.6647 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4849, allocations: 199.1 kB / 0.6649 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.485, allocations: 97.02 kB / 0.665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.485, allocations: 1.062 kB / 0.665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002373/0.4853, allocations: 162 kB / 0.6651 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4853, allocations: 5.062 kB / 0.6652 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.4853, allocations: 8.094 kB / 0.6652 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4853, allocations: 1.469 kB / 0.6652 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.4854, allocations: 13.84 kB / 0.6652 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4854, allocations: 1.5 kB / 0.6652 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4857, allocations: 76.89 kB / 0.6652 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4857, allocations: 11.75 kB / 0.6653 GB, free: 6.066 MB / 0.4981 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.314e-05/0.4858, allocations: 128.2 kB / 0.6654 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.4859, allocations: 16.98 kB / 0.6654 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.4859, allocations: 15.81 kB / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4859, allocations: 1.406 kB / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4859, allocations: 1.562 kB / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4859, allocations: 0 / 0.6654 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.486, allocations: 198 kB / 0.6656 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.486, allocations: 13.06 kB / 0.6656 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.4861, allocations: 9.125 kB / 0.6656 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4861, allocations: 1.344 kB / 0.6656 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4861, allocations: 1.438 kB / 0.6656 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4861, allocations: 1.281 kB / 0.6656 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4861, allocations: 1.062 kB / 0.6656 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4863, allocations: 179.7 kB / 0.6658 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.4864, allocations: 92.64 kB / 0.6659 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4864, allocations: 5.219 kB / 0.6659 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.4864, allocations: 2.688 kB / 0.6659 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.4865, allocations: 11.55 kB / 0.6659 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.4865, allocations: 2.656 kB / 0.6659 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.4865, allocations: 117.6 kB / 0.666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4866, allocations: 0 / 0.666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002998/0.4869, allocations: 73.34 kB / 0.6661 GB, free: 5.324 MB / 0.4981 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) * Number of clocked states: 0 () * 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 (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.0002349/0.4871, allocations: 168.8 kB / 0.6663 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.4874, allocations: 162.2 kB / 0.6664 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4874, allocations: 0 / 0.6664 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.4875, allocations: 43.61 kB / 0.6665 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4877, allocations: 15 kB / 0.6665 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.4883, allocations: 230.7 kB / 0.6667 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4885, allocations: 0.7096 MB / 0.6674 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.987e-05/0.4886, allocations: 14.08 kB / 0.6674 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.4886, allocations: 14.09 kB / 0.6674 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4886, allocations: 0 / 0.6674 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.005795/0.4944, allocations: 2.515 MB / 0.6699 GB, free: 2.914 MB / 0.4981 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)