Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.297/2.297, allocations: 251 MB / 265.9 MB, free: 11.69 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.001497/0.001497, allocations: 187.2 kB / 325.5 MB, free: 2.887 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.401/2.401, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001619/0.001619, allocations: 97.95 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.0004701, allocations: 10.75 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4336, allocations: 134 MB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.4339, allocations: 87.94 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.4541, allocations: 3.815 MB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4541, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.4541, allocations: 4 kB / 1.033 GB, free: 7.848 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001046/0.4552, allocations: 0.5461 MB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4553, allocations: 12.03 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.4553, allocations: 34.56 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.4554, allocations: 15.86 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4556, allocations: 186.6 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.4557, allocations: 8 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.4557, allocations: 4 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.4565, allocations: 157.5 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4566, allocations: 3.984 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.4566, allocations: 7.984 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4566, allocations: 7.938 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.4574, allocations: 127.9 kB / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.459, allocations: 408.5 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.4597, allocations: 118.5 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.4598, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.4605, allocations: 155.2 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.4606, allocations: 3.938 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.002085/0.4627, allocations: 353.3 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.4627, allocations: 59.34 kB / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.4629, allocations: 133.5 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.463, allocations: 25.7 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.4631, allocations: 112.2 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4631, allocations: 19.72 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.4632, allocations: 4.109 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4633, allocations: 322.8 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4636, allocations: 47.97 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.4639, allocations: 89.11 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.4642, allocations: 51.98 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4642, allocations: 0 / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006918/0.4649, allocations: 173.5 kB / 1.037 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4649, allocations: 8 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.465, allocations: 7.953 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.465, allocations: 7.938 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4653, allocations: 19.98 kB / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4653, allocations: 4 kB / 1.037 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4655, allocations: 16.05 kB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4655, allocations: 4 kB / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.000177/0.4657, allocations: 137.4 kB / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.4658, allocations: 12.19 kB / 1.037 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.4658, allocations: 12.72 kB / 1.037 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.4658, allocations: 3.953 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4659, allocations: 0 / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4659, allocations: 3.938 kB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4678, allocations: 0.5531 MB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4678, allocations: 0 / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.468, allocations: 19.98 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.468, allocations: 3.953 kB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.4681, allocations: 7.984 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4681, allocations: 0 / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4681, allocations: 0 / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4696, allocations: 359.2 kB / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.4697, allocations: 89.02 kB / 1.038 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.4697, allocations: 3.953 kB / 1.038 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.4701, allocations: 35.95 kB / 1.038 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.4702, allocations: 11.98 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.4703, allocations: 7.984 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001128/0.4704, allocations: 103.3 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4704, allocations: 0 / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005184/0.4709, allocations: 59.92 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002262/0.4732, allocations: 0.9669 MB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.4742, allocations: 163.8 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4742, allocations: 0 / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.4749, allocations: 104.1 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.4752, allocations: 11.95 kB / 1.039 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.477, allocations: 1.294 MB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.4774, allocations: 0.7043 MB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.4776, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.4777, allocations: 35.42 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.813e-06/0.4777, allocations: 192 / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.5025, allocations: 3.25 MB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000412/0.503, allocations: 243 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.012, allocations: 0 / 1.045 GB, free: 12.12 MB / 0.698 GB