Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.303/2.303, allocations: 248.7 MB / 256.2 MB, free: 7.004 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.001498/0.001498, allocations: 178.9 kB / 315.4 MB, free: 4.02 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.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 88.34 kB / 0.6704 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.883e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8994/1.107, allocations: 133.7 MB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.108, allocations: 84.94 kB / 1.015 GB, free: 5.438 MB / 0.6355 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.01394/1.122, allocations: 2.96 MB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.372e-06/1.122, allocations: 4 kB / 1.018 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.122, allocations: 4 kB / 1.018 GB, free: 2.926 MB / 0.6355 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.0006677/1.122, allocations: 414 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.123, allocations: 8.031 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/1.123, allocations: 15.84 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.123, allocations: 175.2 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.123, allocations: 0 / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/1.123, allocations: 4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/1.123, allocations: 22.88 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.123, allocations: 56.94 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.123, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/1.123, allocations: 7.562 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.123, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/1.124, allocations: 287.2 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/1.124, allocations: 49.56 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/1.124, allocations: 20.3 kB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/1.124, allocations: 4 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/1.124, allocations: 66.64 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.124, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003424/1.125, allocations: 103.4 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.125, allocations: 59.3 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.125, allocations: 113.6 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.125, allocations: 25.7 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/1.125, allocations: 91.52 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/1.125, allocations: 19.73 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/1.125, allocations: 0 / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.125, allocations: 314.3 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/1.125, allocations: 27.19 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/1.125, allocations: 37.75 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/1.126, allocations: 23.17 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.126, allocations: 0 / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002585/1.126, allocations: 91.83 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.126, allocations: 6.5 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.126, allocations: 0 / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.126, allocations: 8.062 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/1.126, allocations: 11.98 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.126, allocations: 0 / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/1.126, allocations: 19.84 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/1.126, allocations: 0 / 1.02 GB, free: 0.8086 MB / 0.6355 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 () * 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.0001045/1.126, allocations: 115.9 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002415/1.127, allocations: 91.11 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/1.127, allocations: 11.91 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/1.127, allocations: 4.625 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.127, allocations: 0 / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.127, allocations: 3.953 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.127, allocations: 7.984 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/1.127, allocations: 335 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.127, allocations: 4 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.662e-05/1.127, allocations: 7.984 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.127, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.127, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.127, allocations: 7.953 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.127, allocations: 0 / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/1.128, allocations: 193.1 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/1.128, allocations: 81.02 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.128, allocations: 3.984 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.128, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.128, allocations: 19.62 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/1.128, allocations: 7.938 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.552e-05/1.128, allocations: 91.56 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.128, allocations: 0 / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004607/1.129, allocations: 47.92 kB / 1.021 GB, free: 15.77 MB / 0.6511 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 () * 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.001008/1.13, allocations: 0.7969 MB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001923/1.13, allocations: 49.11 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.13, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/1.13, allocations: 29.44 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.13, allocations: 12.06 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/1.131, allocations: 151 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.131, allocations: 0.6885 MB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.581e-05/1.131, allocations: 4.188 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/1.131, allocations: 21.8 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.131, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/1.169, allocations: 2.194 MB / 1.024 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000388/1.17, allocations: 204 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.601, allocations: 0 / 1.025 GB, free: 11.56 MB / 0.6511 GB