Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00214/0.00214, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.002157/0.002157, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 0.495 GB, free: 3.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4048, allocations: 78.71 MB / 0.5718 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002492/0.4073, allocations: 1.392 MB / 0.5732 GB, free: 30.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.4082, allocations: 0.4931 MB / 0.5737 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.4082, allocations: 0 / 0.5737 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.357e-05/0.4083, allocations: 7.391 kB / 0.5737 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.4084, allocations: 15.95 kB / 0.5737 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.4091, allocations: 234.1 kB / 0.5739 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.4093, allocations: 152.3 kB / 0.574 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.4093, allocations: 5.234 kB / 0.5741 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.4094, allocations: 52.44 kB / 0.5741 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.4095, allocations: 44.25 kB / 0.5741 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.4095, allocations: 11.75 kB / 0.5742 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.4098, allocations: 169.1 kB / 0.5743 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.4099, allocations: 35.48 kB / 0.5743 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.41, allocations: 58.98 kB / 0.5744 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.4103, allocations: 227.3 kB / 0.5746 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.4103, allocations: 0.5312 kB / 0.5746 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4103, allocations: 1.156 kB / 0.5746 GB, free: 29.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.4103, allocations: 0.5625 kB / 0.5746 GB, free: 29.75 MB / 446.1 MB 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.0004932/0.4108, allocations: 451.1 kB / 0.5751 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4109, allocations: 12.08 kB / 0.5751 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.411, allocations: 11.56 kB / 0.5751 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4111, allocations: 206.3 kB / 0.5753 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4112, allocations: 11.3 kB / 0.5753 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.4112, allocations: 14 kB / 0.5753 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4113, allocations: 84.44 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4114, allocations: 192 / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4114, allocations: 3.938 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4114, allocations: 5.312 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.4115, allocations: 38.44 kB / 0.5754 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.4117, allocations: 232.3 kB / 0.5756 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.4118, allocations: 82.27 kB / 0.5757 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.4119, allocations: 53.5 kB / 0.5758 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.4119, allocations: 2.125 kB / 0.5758 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.4121, allocations: 115.6 kB / 0.5759 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4121, allocations: 1.938 kB / 0.5759 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003091/0.4124, allocations: 190.5 kB / 0.5761 GB, free: 28.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4124, allocations: 86.59 kB / 0.5762 GB, free: 28.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4126, allocations: 154.4 kB / 0.5763 GB, free: 28.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.4126, allocations: 35.47 kB / 0.5763 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.4127, allocations: 102.2 kB / 0.5764 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.4127, allocations: 35.86 kB / 0.5765 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.4128, allocations: 50.52 kB / 0.5765 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.4128, allocations: 327.8 kB / 0.5768 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.4129, allocations: 42.34 kB / 0.5769 GB, free: 27.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.4131, allocations: 202.6 kB / 0.5771 GB, free: 27.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.4132, allocations: 105.5 kB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4132, allocations: 0.5 kB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002476/0.4135, allocations: 161.1 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4135, allocations: 5.344 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.4136, allocations: 11.94 kB / 0.5773 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4136, allocations: 2.5 kB / 0.5773 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.4137, allocations: 6.859 kB / 0.5773 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.4137, allocations: 2.016 kB / 0.5773 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.414, allocations: 74.17 kB / 0.5774 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4141, allocations: 4.5 kB / 0.5774 GB, free: 27.5 MB / 446.1 MB 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 0.0001241/0.4142, allocations: 141.5 kB / 0.5776 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.4142, allocations: 11.75 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.4143, allocations: 14.75 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4143, allocations: 2.312 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.4143, allocations: 1.953 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4143, allocations: 0.5625 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.4145, allocations: 201.5 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4145, allocations: 6.094 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.4145, allocations: 6.297 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4146, allocations: 1.812 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4146, allocations: 2.547 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4146, allocations: 2.844 kB / 0.5778 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4146, allocations: 4.656 kB / 0.5778 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.4149, allocations: 182.9 kB / 0.578 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.4149, allocations: 94.75 kB / 0.5781 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4149, allocations: 2.141 kB / 0.5781 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.415, allocations: 12.03 kB / 0.5781 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.4151, allocations: 6.297 kB / 0.5781 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.4151, allocations: 3.578 kB / 0.5781 GB, free: 26.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.4152, allocations: 115.3 kB / 0.5782 GB, free: 26.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 0.5782 GB, free: 26.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.4155, allocations: 72.75 kB / 0.5783 GB, free: 26.81 MB / 446.1 MB 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.0002662/0.4158, allocations: 169.5 kB / 0.5784 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.4161, allocations: 166.3 kB / 0.5786 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4161, allocations: 0 / 0.5786 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.4162, allocations: 47.59 kB / 0.5786 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.4164, allocations: 11.81 kB / 0.5786 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.4168, allocations: 223.6 kB / 0.5789 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.417, allocations: 0.7039 MB / 0.5795 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.417, allocations: 11.25 kB / 0.5796 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.417, allocations: 11.66 kB / 0.5796 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.417, allocations: 0 / 0.5796 GB, free: 25.71 MB / 446.1 MB Notification: Performance of Templates: time 0.004933/0.422, allocations: 2.517 MB / 0.582 GB, free: 24.51 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)