Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.34/2.34, 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.002186/0.002185, allocations: 175.4 kB / 315.4 MB, free: 3.977 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.078/2.078, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 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.001151/0.001151, allocations: 98.03 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.236e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8735/1.085, allocations: 134 MB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.085, allocations: 80.33 kB / 1.015 GB, free: 4.711 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.01568/1.101, allocations: 3.21 MB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/1.101, allocations: 4 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.101, allocations: 0 / 1.018 GB, free: 1.988 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007281/1.102, allocations: 453.4 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.102, allocations: 12.03 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/1.102, allocations: 11.86 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.102, allocations: 167 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/1.102, allocations: 3.938 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/1.102, allocations: 8 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/1.102, allocations: 31.42 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/1.102, allocations: 69.41 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.102, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/1.102, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.102, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.103, allocations: 327.8 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.103, allocations: 42.2 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/1.104, allocations: 36.66 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.104, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/1.104, allocations: 90.3 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/1.104, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000441/1.104, allocations: 120.6 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.104, allocations: 63.34 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.104, allocations: 110 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.105, allocations: 29.69 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/1.105, allocations: 95.56 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/1.105, allocations: 15.75 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.105, allocations: 0 / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.105, allocations: 322.7 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/1.105, allocations: 15.75 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/1.105, allocations: 63.03 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/1.105, allocations: 23.73 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.105, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002709/1.105, allocations: 108.6 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.105, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.105, allocations: 3.25 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.105, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/1.106, allocations: 11.98 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.106, allocations: 7.938 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/1.106, allocations: 15.8 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/1.106, allocations: 7.984 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete 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.0001002/1.106, allocations: 109.1 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003409/1.106, allocations: 125.4 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/1.106, allocations: 3.906 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/1.106, allocations: 12.06 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.106, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.106, allocations: 7.891 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.106, allocations: 3.984 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/1.107, allocations: 385 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.107, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/1.107, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.107, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/1.107, allocations: 3.984 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.107, allocations: 7.953 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.107, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/1.108, allocations: 219.3 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/1.108, allocations: 88.36 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/1.108, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.108, allocations: 7.984 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/1.108, allocations: 11.94 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/1.108, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.968e-05/1.108, allocations: 93.64 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.108, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000478/1.109, allocations: 47.19 kB / 1.021 GB, free: 14.62 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001093/1.11, allocations: 0.83 MB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002405/1.11, allocations: 77.66 kB / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.11, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.11, allocations: 30.25 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.11, allocations: 19.06 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/1.111, allocations: 164.7 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/1.111, allocations: 0.6885 MB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.158e-05/1.111, allocations: 12.17 kB / 1.023 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/1.112, allocations: 30.48 kB / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.886e-06/1.112, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/1.149, allocations: 2.49 MB / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/1.15, allocations: 199.9 kB / 1.026 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.689, allocations: 0 / 1.026 GB, free: 10.1 MB / 0.6511 GB