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.338/2.338, allocations: 248.5 MB / 261.1 MB, free: 6.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 175.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.2 MB / 0.571 GB, free: 11.72 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.001684/0.001684, allocations: 98.47 kB / 0.6754 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.775e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2064, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9971/1.204, allocations: 132 MB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.204, allocations: 77.14 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0174/1.221, allocations: 3.279 MB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.221, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.823e-05/1.221, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 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.001351/1.223, allocations: 0.5386 MB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.223, allocations: 12.03 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.663e-05/1.223, allocations: 45.61 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/1.223, allocations: 27.86 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/1.224, allocations: 271.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/1.224, allocations: 19.92 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.224, allocations: 27.98 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/1.225, allocations: 249 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.225, allocations: 3.984 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/1.225, allocations: 7.109 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.225, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/1.225, allocations: 89.77 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/1.226, allocations: 381.4 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/1.227, allocations: 233.2 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/1.227, allocations: 121.1 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/1.228, allocations: 11.95 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/1.228, allocations: 257 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 8.106e-06/1.228, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.001748/1.23, allocations: 409.6 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/1.23, allocations: 144 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/1.231, allocations: 131.8 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/1.231, allocations: 44.33 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/1.231, allocations: 107.4 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.231, allocations: 61.75 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/1.231, allocations: 11.19 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.231, allocations: 334.1 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/1.232, allocations: 169.5 kB / 1.026 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/1.233, allocations: 213.4 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/1.234, allocations: 227.4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.234, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002574/1.236, allocations: 0.7259 MB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.236, allocations: 78.88 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.236, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.237, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.237, allocations: 15.98 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/1.237, allocations: 7.938 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/1.238, allocations: 79.02 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.238, allocations: 23.48 kB / 1.028 GB, free: 11.58 MB / 0.6511 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 () * 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.000316/1.238, allocations: 140.6 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.238, allocations: 27.75 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/1.238, allocations: 15.06 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.238, allocations: 7.938 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.239, allocations: 4 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.239, allocations: 3.984 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/1.239, allocations: 265.3 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/1.239, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/1.239, allocations: 15.92 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/1.239, allocations: 7.953 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/1.239, allocations: 11.17 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/1.239, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.239, allocations: 7.984 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.241, allocations: 480.6 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.241, allocations: 96.86 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.241, allocations: 22.8 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/1.242, allocations: 11.98 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.242, allocations: 27.22 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/1.242, allocations: 19.91 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000175/1.242, allocations: 117.7 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.51e-07/1.242, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008659/1.243, allocations: 82.17 kB / 1.029 GB, free: 10.29 MB / 0.6511 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) * 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.002354/1.245, allocations: 1.257 MB / 1.03 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.247, allocations: 0.6727 MB / 1.031 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.247, allocations: 3.375 kB / 1.031 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005919/1.248, allocations: 149.1 kB / 1.031 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/1.248, allocations: 17.83 kB / 1.031 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/1.25, allocations: 376.1 kB / 1.031 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/1.251, allocations: 0.7208 MB / 1.032 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.899e-05/1.251, allocations: 13.2 kB / 1.032 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/1.251, allocations: 35.42 kB / 1.032 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/1.251, allocations: 0 / 1.032 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/1.283, allocations: 4.649 MB / 1.037 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/1.283, allocations: 165 kB / 1.037 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.689, allocations: 3.938 kB / 1.037 GB, free: 2.621 MB / 0.6511 GB