Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.374/2.374, allocations: 248.7 MB / 256.2 MB, free: 7.035 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.001517/0.001517, allocations: 184.1 kB / 315.4 MB, free: 4.02 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.126/2.126, allocations: 205.3 MB / 0.5662 GB, free: 0.5664 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.001077/0.001076, allocations: 97.22 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.72e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9079/1.195, allocations: 133.8 MB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.195, allocations: 79.7 kB / 1.015 GB, free: 5.02 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.01442/1.21, allocations: 3.055 MB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.21, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.21, allocations: 4 kB / 1.018 GB, free: 2.434 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000677/1.21, allocations: 448.8 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.21, allocations: 12.03 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/1.21, allocations: 11.86 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/1.211, allocations: 172.6 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/1.211, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/1.211, allocations: 11.98 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/1.211, allocations: 30 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/1.211, allocations: 71.41 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.211, allocations: 4 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/1.211, allocations: 3.984 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.211, allocations: 0 / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/1.212, allocations: 302.5 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/1.212, allocations: 59.64 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.319e-05/1.212, allocations: 35.03 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/1.212, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/1.212, allocations: 82.16 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/1.212, allocations: 3.938 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004495/1.213, allocations: 127.9 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.213, allocations: 59.36 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.213, allocations: 119.5 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.213, allocations: 29.7 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/1.213, allocations: 88.05 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/1.213, allocations: 23.16 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.213, allocations: 96 / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.213, allocations: 329.9 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/1.213, allocations: 19.56 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/1.213, allocations: 62.8 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/1.214, allocations: 27.17 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.214, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002582/1.214, allocations: 116 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.214, allocations: 6.656 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.214, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.214, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/1.214, allocations: 19.92 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.214, allocations: 3.938 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/1.214, allocations: 12.83 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/1.214, allocations: 4 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000115/1.214, allocations: 116.3 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003892/1.215, allocations: 134.2 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/1.215, allocations: 11.47 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/1.215, allocations: 4.625 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.215, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.215, allocations: 3.953 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.215, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/1.216, allocations: 388.7 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.216, allocations: 4 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/1.216, allocations: 11.94 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.216, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.216, allocations: 3.984 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.216, allocations: 3.953 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.216, allocations: 0 / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/1.216, allocations: 231 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/1.216, allocations: 89 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.216, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/1.217, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/1.217, allocations: 11.94 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/1.217, allocations: 11.23 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.89e-05/1.217, allocations: 86.41 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.217, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004984/1.217, allocations: 55.36 kB / 1.021 GB, free: 15 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001203/1.218, allocations: 0.8269 MB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.219, allocations: 72.5 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.219, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.219, allocations: 41.36 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/1.219, allocations: 15.88 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/1.22, allocations: 163.4 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/1.22, allocations: 0.6962 MB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.045e-05/1.22, allocations: 12.05 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/1.22, allocations: 24.11 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/1.22, allocations: 0 / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/1.26, allocations: 2.503 MB / 1.025 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003204/1.261, allocations: 200.6 kB / 1.026 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.647, allocations: 5.484 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB