Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 183.6 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 94.95 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004736, allocations: 11.91 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.433, allocations: 132.1 MB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.4333, allocations: 79.88 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.4502, allocations: 3.294 MB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4503, allocations: 0 / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.4503, allocations: 0 / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001396/0.4517, allocations: 0.545 MB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.4518, allocations: 15.97 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.4519, allocations: 46.48 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.452, allocations: 35.75 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.4529, allocations: 262.8 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.453, allocations: 19.98 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.4531, allocations: 27.98 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.4539, allocations: 254.4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4539, allocations: 4 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.454, allocations: 4 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.454, allocations: 7.938 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.4545, allocations: 107.8 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.4551, allocations: 375.8 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.4558, allocations: 242.5 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4559, allocations: 4.125 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007871/0.4567, allocations: 291.9 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 3.407e-06/0.4567, allocations: 0 / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.002012/0.4587, allocations: 0.5175 MB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.4589, allocations: 144.8 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4591, allocations: 141.7 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4592, allocations: 49.69 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4593, allocations: 100.6 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4594, allocations: 67.23 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.4595, allocations: 15.94 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4597, allocations: 326.8 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.4601, allocations: 179.8 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.4607, allocations: 224.2 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.4612, allocations: 220.9 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4612, allocations: 0 / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001783/0.463, allocations: 0.7251 MB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4631, allocations: 79.38 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4631, allocations: 4.062 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4632, allocations: 0 / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.4634, allocations: 23.92 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4634, allocations: 4 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/0.464, allocations: 83.67 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.4641, allocations: 19.98 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002933/0.4644, allocations: 164.4 kB / 1.036 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.4645, allocations: 19.86 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.4646, allocations: 24.64 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4646, allocations: 4 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4646, allocations: 0 / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4646, allocations: 4 kB / 1.036 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.465, allocations: 265.3 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.465, allocations: 8 kB / 1.037 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4651, allocations: 11.94 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4651, allocations: 0 / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.4652, allocations: 23.92 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4652, allocations: 0 / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4652, allocations: 0 / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.4666, allocations: 0.4928 MB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.4667, allocations: 96.86 kB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4668, allocations: 19.98 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4671, allocations: 15.92 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.4672, allocations: 27.97 kB / 1.037 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.4672, allocations: 23.97 kB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000122/0.4674, allocations: 114 kB / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4674, allocations: 0 / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005183/0.4679, allocations: 83.98 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001935/0.4699, allocations: 1.29 MB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.4715, allocations: 0.6859 MB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4715, allocations: 4.125 kB / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.4721, allocations: 159.9 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4723, allocations: 11.98 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.4763, allocations: 2.023 MB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4768, allocations: 0.7169 MB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.4768, allocations: 13.44 kB / 1.042 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.477, allocations: 43.41 kB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.477, allocations: 0 / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.5075, allocations: 4.613 MB / 1.047 GB, free: 9.27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.5079, allocations: 182.8 kB / 1.047 GB, free: 9.031 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.062, allocations: 0 / 1.047 GB, free: 9.031 MB / 0.698 GB