Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.209/2.209, 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.001551/0.00155, allocations: 172.8 kB / 325.5 MB, free: 2.898 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.631/2.631, allocations: 205.4 MB / 0.5764 GB, free: 20.74 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.001169/0.001168, allocations: 98.12 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004778, allocations: 18.56 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.4767, allocations: 133.5 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/0.4772, allocations: 87.94 kB / 1.029 GB, free: 11.73 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.01822/0.4954, allocations: 2.89 MB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4955, allocations: 0 / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.4955, allocations: 4 kB / 1.032 GB, free: 8.836 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.0008803/0.4964, allocations: 458.4 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.4965, allocations: 8.031 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.4965, allocations: 30.56 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.4966, allocations: 11.86 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.4968, allocations: 171 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.4969, allocations: 8 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4969, allocations: 4 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.4972, allocations: 73.66 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4973, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4973, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4973, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.4976, allocations: 51.91 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.4984, allocations: 316.5 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.4987, allocations: 46.56 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.4988, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.4992, allocations: 83.56 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.4992, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008965/0.5001, allocations: 153.4 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.5002, allocations: 55.41 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.5004, allocations: 116.9 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.5004, allocations: 25.7 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.5005, allocations: 92.33 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.5006, allocations: 19.78 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.5006, allocations: 4 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5008, allocations: 310.8 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.501, allocations: 31.97 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.5013, allocations: 61.14 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.5015, allocations: 41.73 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.5015, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005819/0.5021, allocations: 117.4 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5022, allocations: 4 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5022, allocations: 4 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5022, allocations: 4.156 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.5024, allocations: 19.98 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.5025, allocations: 3.953 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.5026, allocations: 8 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.5027, allocations: 4 kB / 1.034 GB, free: 6.289 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.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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.0001935/0.5029, allocations: 121.7 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.503, allocations: 11.89 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.503, allocations: 16.31 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5031, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.5031, allocations: 4 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5031, allocations: 4 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5042, allocations: 378.5 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5042, allocations: 0 / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.5043, allocations: 12 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5044, allocations: 3.984 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.5044, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.5044, allocations: 7.953 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5045, allocations: 0 / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.5051, allocations: 211.4 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.5052, allocations: 89.02 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.5053, allocations: 0 / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.5055, allocations: 7.938 kB / 1.035 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.5056, allocations: 19.88 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.5056, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001291/0.5058, allocations: 91.27 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5058, allocations: 0 / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008267/0.5066, allocations: 51.92 kB / 1.035 GB, free: 5.18 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.00165/0.5083, allocations: 0.8176 MB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005011/0.5088, allocations: 71.89 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5089, allocations: 0 / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.5091, allocations: 44.22 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5095, allocations: 23.88 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.5113, allocations: 1.201 MB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.5117, allocations: 0.6965 MB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.774e-05/0.5118, allocations: 4.188 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.5119, allocations: 11.44 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/0.5119, allocations: 3.938 kB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.5391, allocations: 2.498 MB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003971/0.5396, allocations: 233.4 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/2.977, allocations: 0 / 1.041 GB, free: 15.63 MB / 0.698 GB