Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.394/2.394, allocations: 248.5 MB / 261.1 MB, free: 6.008 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.001384/0.001383, allocations: 174.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.00176/0.00176, allocations: 93.58 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.13e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2123, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8742/1.087, allocations: 133.5 MB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.087, allocations: 84.12 kB / 1.021 GB, free: 1.402 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.0145/1.101, allocations: 2.986 MB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.923e-06/1.102, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.102, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 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.0007346/1.102, allocations: 444.2 kB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/1.102, allocations: 11.97 kB / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/1.102, allocations: 42.3 kB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/1.102, allocations: 7.953 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.103, allocations: 174.9 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.103, allocations: 3.25 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/1.103, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.103, allocations: 65.78 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.103, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/1.103, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.103, allocations: 4 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/1.103, allocations: 22.88 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/1.104, allocations: 302.3 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/1.104, allocations: 41.14 kB / 1.025 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/1.104, allocations: 31.42 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/1.104, allocations: 7.984 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/1.104, allocations: 66.83 kB / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.886e-06/1.104, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003803/1.105, allocations: 115.1 kB / 1.025 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.105, allocations: 59.33 kB / 1.025 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/1.105, allocations: 115.8 kB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.105, allocations: 37.64 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.105, allocations: 84.14 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/1.105, allocations: 18.75 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/1.105, allocations: 3.812 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.105, allocations: 318.8 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/1.105, allocations: 15.25 kB / 1.026 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/1.106, allocations: 63.33 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/1.106, allocations: 18.94 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.106, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/1.106, allocations: 103.5 kB / 1.026 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.106, allocations: 8.031 kB / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.106, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.106, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/1.106, allocations: 23.88 kB / 1.026 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.106, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.106, allocations: 8 kB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.106, allocations: 8.031 kB / 1.026 GB, free: 12.55 MB / 0.6511 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.p,bli.p,bli.occ,$whenCondition1,bli.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.0001211/1.106, allocations: 120 kB / 1.026 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/1.107, allocations: 3.906 kB / 1.026 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/1.107, allocations: 12.31 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.107, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.107, allocations: 3.953 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.107, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/1.107, allocations: 374.2 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.107, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/1.107, allocations: 7.984 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.107, allocations: 4.875 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.107, allocations: 7.953 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.107, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.107, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/1.108, allocations: 203.4 kB / 1.027 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/1.108, allocations: 81.02 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/1.108, allocations: 6.438 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/1.108, allocations: 19.94 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/1.108, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.108, allocations: 7.984 kB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.876e-05/1.108, allocations: 95.72 kB / 1.027 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.108, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004592/1.109, allocations: 55.8 kB / 1.027 GB, free: 11.55 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.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.001007/1.11, allocations: 0.8008 MB / 1.028 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002299/1.11, allocations: 57.98 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.11, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.11, allocations: 30.81 kB / 1.028 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.11, allocations: 16.25 kB / 1.028 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/1.111, allocations: 168.7 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/1.111, allocations: 0.6895 MB / 1.029 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.141e-05/1.111, allocations: 4.281 kB / 1.029 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/1.111, allocations: 22.55 kB / 1.029 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/1.111, allocations: 0 / 1.029 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.135, allocations: 2.61 MB / 1.031 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003671/1.136, allocations: 215.8 kB / 1.032 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.534, allocations: 0 / 1.032 GB, free: 7.094 MB / 0.6511 GB