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.398/2.398, allocations: 248.5 MB / 261.1 MB, free: 6.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.002097/0.002097, allocations: 174.7 kB / 320.4 MB, free: 15.35 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.171/2.171, allocations: 205.1 MB / 0.571 GB, free: 11.77 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.001047/0.001046, allocations: 98.09 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.747e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1988, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.265, allocations: 133.5 MB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004008/1.265, allocations: 85.38 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.01852/1.284, allocations: 3.061 MB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.494e-06/1.284, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.916e-05/1.284, allocations: 4 kB / 1.024 GB, free: 14.78 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.001065/1.285, allocations: 447.7 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/1.285, allocations: 16.03 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.322e-05/1.285, allocations: 34.06 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/1.285, allocations: 11.86 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.286, allocations: 175.8 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/1.286, allocations: 3.984 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/1.286, allocations: 10.88 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/1.286, allocations: 75.84 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.286, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/1.286, allocations: 3.984 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.286, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/1.287, allocations: 34.8 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.288, allocations: 324.8 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/1.288, allocations: 60.91 kB / 1.025 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/1.288, allocations: 37.23 kB / 1.025 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/1.288, allocations: 11.98 kB / 1.025 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/1.289, allocations: 83.31 kB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 5.04e-06/1.289, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0007074/1.29, allocations: 141.1 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.29, allocations: 55.41 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/1.29, allocations: 114 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/1.29, allocations: 29.58 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/1.29, allocations: 100.4 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/1.29, allocations: 23.41 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.29, allocations: 3.688 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.29, allocations: 321.6 kB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.29, allocations: 18.44 kB / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/1.291, allocations: 69.38 kB / 1.026 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/1.291, allocations: 27.75 kB / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.291, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004253/1.291, allocations: 119.5 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.291, allocations: 12.16 kB / 1.026 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.291, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.291, allocations: 7.938 kB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/1.292, allocations: 24.75 kB / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.292, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.292, allocations: 8 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/1.292, allocations: 7.75 kB / 1.026 GB, free: 12.36 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.000167/1.292, allocations: 124.3 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/1.292, allocations: 7.906 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/1.292, allocations: 12.25 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/1.292, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.292, allocations: 3.953 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.292, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.293, allocations: 421 kB / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.293, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.293, allocations: 11.98 kB / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.293, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/1.293, allocations: 7.953 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.293, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.293, allocations: 3.984 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/1.294, allocations: 229 kB / 1.027 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/1.294, allocations: 85.11 kB / 1.027 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/1.294, allocations: 7.969 kB / 1.027 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/1.295, allocations: 11.95 kB / 1.027 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/1.295, allocations: 10.17 kB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/1.295, allocations: 7.938 kB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001218/1.295, allocations: 101.5 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.01e-07/1.295, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000668/1.295, allocations: 51.56 kB / 1.028 GB, free: 11.29 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.001638/1.297, allocations: 0.8321 MB / 1.028 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004213/1.298, allocations: 75.75 kB / 1.028 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.298, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/1.298, allocations: 42.42 kB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.298, allocations: 23.06 kB / 1.028 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/1.299, allocations: 171.7 kB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/1.3, allocations: 0.6965 MB / 1.029 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.762e-05/1.3, allocations: 4 kB / 1.029 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/1.3, allocations: 26.48 kB / 1.029 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/1.3, allocations: 3.938 kB / 1.029 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/1.329, allocations: 2.817 MB / 1.032 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003776/1.33, allocations: 221.3 kB / 1.032 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.739, allocations: 7.25 kB / 1.032 GB, free: 6.551 MB / 0.6511 GB