Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.733/2.733, 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.002355/0.002355, allocations: 175.6 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.485/2.485, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.00223/0.00223, allocations: 93.7 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004899, allocations: 16.23 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4679, allocations: 133.5 MB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005248/0.4685, allocations: 83.95 kB / 1.029 GB, free: 12.16 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.02258/0.4911, allocations: 2.986 MB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4911, allocations: 0 / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4912, allocations: 4 kB / 1.032 GB, free: 9.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001038/0.4922, allocations: 432.7 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.4923, allocations: 11.97 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.191e-05/0.4924, allocations: 42.55 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.4925, allocations: 7.859 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.4927, allocations: 163.1 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.4928, allocations: 8 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.4928, allocations: 7.938 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.4932, allocations: 69.66 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.4933, allocations: 3.984 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.4933, allocations: 11.92 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4934, allocations: 4 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.4937, allocations: 35.98 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.4951, allocations: 332.6 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.4954, allocations: 50.5 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.4955, allocations: 0 / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.4959, allocations: 79.5 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.536e-06/0.4959, allocations: 0 / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001015/0.4969, allocations: 153.4 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.497, allocations: 63.47 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.4972, allocations: 109 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.4973, allocations: 29.69 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4974, allocations: 92.33 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.4975, allocations: 7.812 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.4975, allocations: 4 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4977, allocations: 318.8 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.498, allocations: 31.98 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.4983, allocations: 50.55 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.4986, allocations: 28 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.4986, allocations: 0 / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000665/0.4993, allocations: 121.8 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4993, allocations: 8 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4994, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.4994, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.4997, allocations: 19.92 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.4997, allocations: 4.031 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.4999, allocations: 16.05 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4999, allocations: 11.92 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001829/0.5001, allocations: 116.5 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.5002, allocations: 7.906 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.5003, allocations: 8.375 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5003, allocations: 4 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.5003, allocations: 0 / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5004, allocations: 7.938 kB / 1.035 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5015, allocations: 382.4 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5015, allocations: 3.984 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5016, allocations: 4 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.5017, allocations: 4 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.5017, allocations: 4 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.5017, allocations: 3.953 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5017, allocations: 4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007241/0.5025, allocations: 219.3 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/0.5026, allocations: 84.95 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.5026, allocations: 4 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.5029, allocations: 19.98 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/0.503, allocations: 3.953 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.503, allocations: 7.984 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001005/0.5031, allocations: 87.28 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.52e-07/0.5032, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006972/0.5039, allocations: 47.92 kB / 1.035 GB, free: 5.539 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001671/0.5056, allocations: 0.8216 MB / 1.036 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.5062, allocations: 75.97 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.5063, allocations: 0 / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.5066, allocations: 47.89 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.5069, allocations: 7.953 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5085, allocations: 0.7329 MB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.509, allocations: 0.6887 MB / 1.038 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.5091, allocations: 4.188 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.5093, allocations: 27.36 kB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/0.5093, allocations: 0 / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.5392, allocations: 2.507 MB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/0.5396, allocations: 241.7 kB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.051, allocations: 2.812 kB / 1.04 GB, free: 440 kB / 0.6823 GB