Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.32/2.32, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.002292/0.002292, allocations: 185.6 kB / 315.4 MB, free: 4 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.128/2.128, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.00158/0.00158, allocations: 94.47 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.112e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9626/1.169, allocations: 133.7 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.169, allocations: 76.58 kB / 1.015 GB, free: 5.344 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.01386/1.183, allocations: 2.975 MB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/1.183, allocations: 0 / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.183, allocations: 4 kB / 1.018 GB, free: 2.824 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.0006624/1.184, allocations: 410.7 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.184, allocations: 12.03 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/1.184, allocations: 11.86 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.184, allocations: 167 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/1.184, allocations: 3.984 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/1.184, allocations: 4 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/1.184, allocations: 25.5 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/1.184, allocations: 60.66 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.184, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.184, allocations: 4 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.184, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/1.185, allocations: 287.2 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/1.185, allocations: 44.75 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/1.185, allocations: 26.61 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/1.185, allocations: 3.984 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/1.186, allocations: 69.39 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.186, allocations: 0 / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003274/1.186, allocations: 87.34 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.186, allocations: 71.41 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.186, allocations: 107.7 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/1.186, allocations: 29.69 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/1.186, allocations: 87.83 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/1.186, allocations: 15.19 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/1.186, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.187, allocations: 321.8 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/1.187, allocations: 22 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/1.187, allocations: 47.23 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/1.187, allocations: 15.44 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.187, allocations: 0 / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002515/1.187, allocations: 95.14 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.187, allocations: 4 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.187, allocations: 0 / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.187, allocations: 0 / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.187, allocations: 23.23 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.187, allocations: 0 / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/1.187, allocations: 11.86 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.868e-05/1.187, allocations: 4 kB / 1.02 GB, free: 0.7148 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.0001059/1.188, allocations: 112.9 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002453/1.188, allocations: 96.69 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/1.188, allocations: 7.844 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/1.188, allocations: 12.62 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.188, allocations: 0 / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.188, allocations: 3.953 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.188, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/1.188, allocations: 343.8 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.188, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/1.189, allocations: 7.125 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.189, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/1.189, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/1.189, allocations: 7.938 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.189, allocations: 4 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/1.189, allocations: 190 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/1.189, allocations: 85.02 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/1.189, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.189, allocations: 7.984 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/1.189, allocations: 7.953 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.189, allocations: 7.922 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.576e-05/1.189, allocations: 97.22 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.189, allocations: 4 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004655/1.19, allocations: 50.61 kB / 1.021 GB, free: 15.68 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.0009915/1.191, allocations: 0.7891 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002066/1.191, allocations: 55.91 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.191, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/1.191, allocations: 25.75 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/1.191, allocations: 6.188 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/1.192, allocations: 155.5 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/1.192, allocations: 0.6924 MB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.839e-05/1.193, allocations: 8.172 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/1.193, allocations: 14.06 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.193, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/1.234, allocations: 2.189 MB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/1.234, allocations: 197.9 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.675, allocations: 3.938 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB