Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006561/0.006561, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001361/0.001361, allocations: 194.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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 0.5862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5406, allocations: 81.02 MB / 0.6653 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002195/0.5428, allocations: 1.414 MB / 0.6667 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.5435, allocations: 0.4962 MB / 0.6672 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.5436, allocations: 1.5 kB / 0.6672 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.5437, allocations: 8.812 kB / 0.6672 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.5437, allocations: 9.953 kB / 0.6672 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.5444, allocations: 234 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.5446, allocations: 153.1 kB / 0.6676 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.5447, allocations: 8.016 kB / 0.6676 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.5448, allocations: 51.44 kB / 0.6676 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.5448, allocations: 41.89 kB / 0.6677 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.5449, allocations: 10.16 kB / 0.6677 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.5452, allocations: 171.3 kB / 0.6678 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.5453, allocations: 34.06 kB / 0.6679 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.5453, allocations: 56 kB / 0.6679 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.5457, allocations: 237.4 kB / 0.6681 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.5457, allocations: 7.922 kB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5457, allocations: 1.031 kB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.5457, allocations: 0 / 0.6682 GB, free: 5.059 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.0005658/0.5463, allocations: 448.3 kB / 0.6686 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5463, allocations: 9.875 kB / 0.6686 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.5464, allocations: 15.56 kB / 0.6686 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.5466, allocations: 209.2 kB / 0.6688 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.5466, allocations: 9.438 kB / 0.6688 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.5467, allocations: 13.38 kB / 0.6688 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5468, allocations: 87.53 kB / 0.6689 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5468, allocations: 192 / 0.6689 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5469, allocations: 5.062 kB / 0.6689 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.5469, allocations: 1.25 kB / 0.6689 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.547, allocations: 33.92 kB / 0.669 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.5472, allocations: 233.4 kB / 0.6692 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5473, allocations: 87.11 kB / 0.6693 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.5474, allocations: 52.81 kB / 0.6693 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5474, allocations: 5.109 kB / 0.6693 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.5476, allocations: 107.2 kB / 0.6694 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.5476, allocations: 5.344 kB / 0.6694 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003775/0.548, allocations: 194.5 kB / 0.6696 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.548, allocations: 86.3 kB / 0.6697 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.5482, allocations: 150.6 kB / 0.6698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.5482, allocations: 37.39 kB / 0.6699 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.5483, allocations: 103.7 kB / 0.67 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.5483, allocations: 37.38 kB / 0.67 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.5484, allocations: 51.64 kB / 0.6701 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5485, allocations: 326.5 kB / 0.6704 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/0.5486, allocations: 45.23 kB / 0.6704 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5488, allocations: 199.9 kB / 0.6706 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5489, allocations: 97.94 kB / 0.6707 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5489, allocations: 0 / 0.6707 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002193/0.5491, allocations: 171 kB / 0.6709 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5492, allocations: 5.469 kB / 0.6709 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.5492, allocations: 2.375 kB / 0.6709 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5492, allocations: 9.344 kB / 0.6709 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.5493, allocations: 6.562 kB / 0.6709 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5493, allocations: 1.438 kB / 0.6709 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.5496, allocations: 77.33 kB / 0.671 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.5496, allocations: 4.031 kB / 0.671 GB, free: 2.57 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.175e-05/0.5497, allocations: 131.2 kB / 0.6711 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.5497, allocations: 16.5 kB / 0.6711 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.5497, allocations: 17.08 kB / 0.6711 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5498, allocations: 1.094 kB / 0.6711 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5498, allocations: 1.344 kB / 0.6711 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5498, allocations: 0 / 0.6711 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5499, allocations: 190.2 kB / 0.6713 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5499, allocations: 9.031 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.5499, allocations: 5.844 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5499, allocations: 1.125 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.55, allocations: 1.188 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.55, allocations: 1.125 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.55, allocations: 1.156 kB / 0.6713 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.5502, allocations: 179.7 kB / 0.6715 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.5502, allocations: 101.1 kB / 0.6716 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.5503, allocations: 1.438 kB / 0.6716 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.5503, allocations: 6.281 kB / 0.6716 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5503, allocations: 7.703 kB / 0.6716 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5504, allocations: 2.625 kB / 0.6716 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.5504, allocations: 110.7 kB / 0.6717 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5504, allocations: 0 / 0.6717 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003117/0.5507, allocations: 73.28 kB / 0.6718 GB, free: 1.848 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.0002382/0.551, allocations: 176 kB / 0.6719 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.5512, allocations: 162.6 kB / 0.6721 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5512, allocations: 0 / 0.6721 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.5513, allocations: 50.98 kB / 0.6721 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.5515, allocations: 7.438 kB / 0.6722 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.5519, allocations: 230.1 kB / 0.6724 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.5521, allocations: 0.7134 MB / 0.6731 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.5521, allocations: 10.84 kB / 0.6731 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.5522, allocations: 12.25 kB / 0.6731 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.5522, allocations: 0 / 0.6731 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of Templates: time 0.005913/0.5581, allocations: 2.514 MB / 0.6755 GB, free: 15.43 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)