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.169/2.169, 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.001572/0.001572, allocations: 175.8 kB / 325.5 MB, free: 2.902 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.487/2.487, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001222/0.001222, allocations: 100.9 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006972/0.0006974, allocations: 12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2361, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2506/0.4867, allocations: 133.5 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.4871, allocations: 83.94 kB / 1.029 GB, free: 11.69 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.01438/0.5015, allocations: 3.006 MB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5015, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5016, allocations: 0 / 1.032 GB, free: 8.68 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.0006773/0.5022, allocations: 462.3 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5023, allocations: 12.03 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.5024, allocations: 30.56 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.5024, allocations: 15.84 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5026, allocations: 171 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.5026, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.5027, allocations: 0 / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.503, allocations: 85.62 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.503, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.503, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.503, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.5033, allocations: 47.91 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.5039, allocations: 308.8 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5042, allocations: 50.55 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5042, allocations: 7.938 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.5045, allocations: 95.48 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.5045, allocations: 0 / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006673/0.5052, allocations: 149.5 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5052, allocations: 59.41 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5054, allocations: 122.1 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.5054, allocations: 25.7 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.5055, allocations: 96.31 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.5055, allocations: 11.81 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.5055, allocations: 4 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5057, allocations: 318.8 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5058, allocations: 27.98 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.506, allocations: 65.08 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.5061, allocations: 37.8 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5062, allocations: 0 / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004084/0.5066, allocations: 117.4 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5066, allocations: 4 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5066, allocations: 8.156 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5067, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5068, allocations: 15.98 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.5068, allocations: 7.891 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5069, allocations: 8 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.507, allocations: 11.92 kB / 1.035 GB, free: 6.09 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.p,bli.p,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.0001272/0.5071, allocations: 122.9 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.5072, allocations: 11.91 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.5072, allocations: 4.375 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5072, allocations: 4 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5072, allocations: 0 / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5072, allocations: 3.953 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.508, allocations: 390.5 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.508, allocations: 7.938 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.5081, allocations: 7.984 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.5081, allocations: 0 / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.5081, allocations: 4 kB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5082, allocations: 3.953 kB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5082, allocations: 4 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.5087, allocations: 223.3 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.5087, allocations: 85 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.5088, allocations: 8 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5089, allocations: 4 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.509, allocations: 11.94 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.509, allocations: 4 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.5091, allocations: 93.89 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5091, allocations: 0 / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004588/0.5096, allocations: 51.98 kB / 1.036 GB, free: 4.969 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.p,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.001228/0.5108, allocations: 0.8232 MB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.5113, allocations: 75.88 kB / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5113, allocations: 0 / 1.036 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.5115, allocations: 44.3 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.5118, allocations: 9.5 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.5132, allocations: 1.215 MB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5135, allocations: 0.6926 MB / 1.038 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.247e-05/0.5136, allocations: 4.188 kB / 1.038 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.5137, allocations: 24.3 kB / 1.038 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/0.5137, allocations: 0 / 1.038 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.5424, allocations: 2.585 MB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/0.5428, allocations: 252.4 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.067, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.698 GB