Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.178/2.178, 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.001562/0.001562, allocations: 182.2 kB / 325.5 MB, free: 2.879 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.409/2.409, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001155/0.001155, allocations: 88.91 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007631/0.0007632, allocations: 9.125 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2164, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/0.4526, allocations: 133.6 MB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.453, allocations: 87.95 kB / 1.029 GB, free: 12.06 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.01497/0.468, allocations: 3.068 MB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.468, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.468, allocations: 0 / 1.032 GB, free: 8.984 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007938/0.4688, allocations: 468.1 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4689, allocations: 12.03 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.469, allocations: 30.56 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.469, allocations: 23.8 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.4692, allocations: 175 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.4693, allocations: 4 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.4693, allocations: 12 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.4696, allocations: 81.62 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.4697, allocations: 0 / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.4697, allocations: 7.984 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4697, allocations: 0 / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.47, allocations: 59.84 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.4708, allocations: 332.6 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.4711, allocations: 70.59 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.4712, allocations: 0 / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.4715, allocations: 99.34 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.4715, allocations: 3.938 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0008204/0.4723, allocations: 197.4 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4724, allocations: 55.39 kB / 1.034 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4726, allocations: 113 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4726, allocations: 33.7 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.4727, allocations: 92.36 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.4727, allocations: 27.86 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.4728, allocations: 0 / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4729, allocations: 322.8 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4731, allocations: 31.98 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4733, allocations: 79.33 kB / 1.035 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.4735, allocations: 39.98 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4735, allocations: 0 / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004493/0.4739, allocations: 137.4 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.474, allocations: 4 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.474, allocations: 0 / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.474, allocations: 4 kB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4742, allocations: 19.92 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4743, allocations: 7.953 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.4744, allocations: 20.08 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4744, allocations: 8 kB / 1.035 GB, free: 6.207 MB / 0.6823 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 () * Number of clocked 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.0001515/0.4746, allocations: 117.8 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.4746, allocations: 7.906 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.4747, allocations: 16.36 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4747, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4747, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4747, allocations: 7.953 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.4756, allocations: 430.8 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4757, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.4757, allocations: 4 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.4758, allocations: 4 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4758, allocations: 8.016 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4758, allocations: 11.89 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4758, allocations: 0 / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.4764, allocations: 257 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.4765, allocations: 81.11 kB / 1.036 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.4766, allocations: 8 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.4767, allocations: 15.97 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4768, allocations: 7.953 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.4769, allocations: 7.984 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.129e-05/0.4769, allocations: 100.3 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.477, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004926/0.4775, allocations: 55.92 kB / 1.036 GB, free: 4.992 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * 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.001358/0.4788, allocations: 0.8497 MB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.4793, allocations: 99.89 kB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4793, allocations: 0 / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.4796, allocations: 47.92 kB / 1.037 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.4799, allocations: 16.25 kB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4815, allocations: 1.377 MB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4818, allocations: 0.6965 MB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.438e-05/0.482, allocations: 7.938 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4821, allocations: 27.42 kB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/0.4821, allocations: 0 / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.5122, allocations: 2.798 MB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003723/0.5126, allocations: 252.6 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.935, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB