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.387/2.387, allocations: 248.5 MB / 261.1 MB, free: 6.082 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.001442/0.001442, allocations: 180.2 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001072/0.001072, allocations: 99.22 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.465e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8475/1.049, allocations: 133.5 MB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.049, allocations: 86.69 kB / 1.021 GB, free: 1.336 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.064, allocations: 3.053 MB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.064, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.064, allocations: 4 kB / 1.024 GB, free: 14.71 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006845/1.065, allocations: 445.4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.065, allocations: 12.03 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/1.065, allocations: 38.48 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/1.065, allocations: 11.86 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.065, allocations: 171 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.065, allocations: 7.75 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/1.065, allocations: 11.98 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/1.065, allocations: 80.02 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.065, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.065, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.065, allocations: 4 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/1.065, allocations: 33.42 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/1.066, allocations: 324 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/1.066, allocations: 66.34 kB / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/1.067, allocations: 33.92 kB / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/1.067, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/1.067, allocations: 87.5 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/1.067, allocations: 3.938 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004537/1.067, allocations: 142.4 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/1.067, allocations: 55.56 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/1.067, allocations: 119.7 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.068, allocations: 29.39 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/1.068, allocations: 96.11 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/1.068, allocations: 27.2 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/1.068, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.068, allocations: 322.1 kB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/1.068, allocations: 21.5 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.068, allocations: 66.41 kB / 1.026 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/1.068, allocations: 27.11 kB / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.068, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002882/1.068, allocations: 121.6 kB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.068, allocations: 10.59 kB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.068, allocations: 8 kB / 1.026 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.068, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/1.069, allocations: 23.77 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.069, allocations: 3.984 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.069, allocations: 8 kB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/1.069, allocations: 4.156 kB / 1.026 GB, free: 12.29 MB / 0.6511 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.0001074/1.069, allocations: 124 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/1.069, allocations: 7.906 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/1.069, allocations: 16.55 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.069, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.069, allocations: 3.953 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.069, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/1.07, allocations: 420.7 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.07, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/1.07, allocations: 4.094 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.07, allocations: 8.172 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.4e-05/1.07, allocations: 7.938 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.07, allocations: 3.938 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.07, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/1.07, allocations: 230.8 kB / 1.027 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/1.07, allocations: 89.02 kB / 1.027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.071, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/1.071, allocations: 14.94 kB / 1.027 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/1.071, allocations: 7.938 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/1.071, allocations: 7.984 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.783e-05/1.071, allocations: 94.22 kB / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.071, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004701/1.071, allocations: 55.42 kB / 1.028 GB, free: 11.22 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.001099/1.072, allocations: 0.8345 MB / 1.028 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002832/1.073, allocations: 77.98 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.073, allocations: 4.062 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.073, allocations: 38 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/1.073, allocations: 20 kB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/1.074, allocations: 171.1 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/1.074, allocations: 0.6965 MB / 1.029 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.995e-05/1.074, allocations: 8 kB / 1.029 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/1.074, allocations: 22.48 kB / 1.029 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.074, allocations: 3.938 kB / 1.029 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/1.104, allocations: 2.841 MB / 1.032 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/1.104, allocations: 213.4 kB / 1.032 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.419, allocations: 0 / 1.032 GB, free: 6.477 MB / 0.6511 GB