Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001411, allocations: 186.7 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7886/0.7886, allocations: 82.93 MB / 99.42 MB, free: 3.375 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 325.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 102.5 kB / 393.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004434, allocations: 8 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08928, allocations: 67.46 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001738/0.09106, allocations: 1.105 MB / 0.5274 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.09201, allocations: 440.5 kB / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.09207, allocations: 0 / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.09214, allocations: 7.984 kB / 0.5279 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.09222, allocations: 11.92 kB / 0.5279 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.09297, allocations: 183.2 kB / 0.528 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.09317, allocations: 95.77 kB / 0.5281 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.09323, allocations: 7.938 kB / 0.5281 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.09332, allocations: 47.91 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.09343, allocations: 47.88 kB / 0.5282 GB, free: 13.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.09347, allocations: 4 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.09376, allocations: 131.8 kB / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.09383, allocations: 35.89 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.09391, allocations: 49.64 kB / 0.5284 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.0942, allocations: 160 kB / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.483e-06/0.09422, allocations: 0 / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.09423, allocations: 0 / 0.5286 GB, free: 12.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.184e-06/0.09424, allocations: 0 / 0.5286 GB, free: 12.74 MB / 378.7 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.0005928/0.09484, allocations: 427.9 kB / 0.529 GB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.0949, allocations: 12.03 kB / 0.529 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.09497, allocations: 19.81 kB / 0.529 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.09523, allocations: 198.9 kB / 0.5292 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.09526, allocations: 8 kB / 0.5292 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.09531, allocations: 8 kB / 0.5292 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.09551, allocations: 87.33 kB / 0.5293 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.09554, allocations: 0 / 0.5293 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.09556, allocations: 0 / 0.5293 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-06/0.09558, allocations: 4 kB / 0.5293 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.09569, allocations: 39.92 kB / 0.5294 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.09602, allocations: 238.4 kB / 0.5296 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.09618, allocations: 73.2 kB / 0.5297 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.09621, allocations: 0 / 0.5297 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.09647, allocations: 121.2 kB / 0.5298 GB, free: 11.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.16e-06/0.09649, allocations: 0 / 0.5298 GB, free: 11.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005581/0.09705, allocations: 347.6 kB / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.09714, allocations: 85.09 kB / 0.5302 GB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.09732, allocations: 153.3 kB / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.09738, allocations: 33.7 kB / 0.5304 GB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.09749, allocations: 104.5 kB / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.09756, allocations: 39.55 kB / 0.5305 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-06/0.09758, allocations: 0 / 0.5305 GB, free: 10.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.09776, allocations: 326.8 kB / 0.5308 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.09788, allocations: 40.17 kB / 0.5309 GB, free: 10.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.09818, allocations: 202.8 kB / 0.5311 GB, free: 9.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.09833, allocations: 63.89 kB / 0.5311 GB, free: 9.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-06/0.09835, allocations: 0 / 0.5311 GB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003371/0.0987, allocations: 165.4 kB / 0.5313 GB, free: 9.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.09873, allocations: 7.953 kB / 0.5313 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.09877, allocations: 8.562 kB / 0.5313 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.09879, allocations: 3.938 kB / 0.5313 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.09889, allocations: 8 kB / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.206e-06/0.09891, allocations: 0 / 0.5313 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.09931, allocations: 91.75 kB / 0.5314 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.09934, allocations: 4 kB / 0.5314 GB, free: 9.539 MB / 378.7 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.09953, allocations: 145.7 kB / 0.5315 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.09957, allocations: 11.91 kB / 0.5315 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.09962, allocations: 16.66 kB / 0.5316 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-06/0.09964, allocations: 4 kB / 0.5316 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.09966, allocations: 4 kB / 0.5316 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-06/0.09967, allocations: 0 / 0.5316 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.09989, allocations: 193.6 kB / 0.5317 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.09991, allocations: 4 kB / 0.5318 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.09997, allocations: 4.094 kB / 0.5318 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-06/0.09998, allocations: 7.984 kB / 0.5318 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1, allocations: 4 kB / 0.5318 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.481e-06/0.1, allocations: 7.891 kB / 0.5318 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1, allocations: 0 / 0.5318 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1004, allocations: 195.4 kB / 0.532 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1005, allocations: 84.95 kB / 0.532 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.1005, allocations: 15.94 kB / 0.5321 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.133e-05/0.1006, allocations: 8 kB / 0.5321 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1006, allocations: 3.984 kB / 0.5321 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1007, allocations: 4 kB / 0.5321 GB, free: 8.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1008, allocations: 115.2 kB / 0.5322 GB, free: 8.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.1008, allocations: 0 / 0.5322 GB, free: 8.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.1012, allocations: 68 kB / 0.5322 GB, free: 8.555 MB / 378.7 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 (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.0003022/0.1015, allocations: 163.2 kB / 0.5324 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1019, allocations: 167.2 kB / 0.5326 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1019, allocations: 0 / 0.5326 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.102, allocations: 51.91 kB / 0.5326 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1021, allocations: 4 kB / 0.5326 GB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.1027, allocations: 242.5 kB / 0.5328 GB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1031, allocations: 0.7121 MB / 0.5335 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.1031, allocations: 4.672 kB / 0.5335 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1032, allocations: 15.44 kB / 0.5336 GB, free: 7.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1032, allocations: 0 / 0.5336 GB, free: 7.129 MB / 378.7 MB Notification: Performance of Templates: time 0.009107/0.1123, allocations: 2.331 MB / 0.5358 GB, free: 4.828 MB / 378.7 MB