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.34/2.34, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001471/0.00147, allocations: 186.7 kB / 315.4 MB, free: 4.004 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.213/2.213, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001164/0.001164, allocations: 97.77 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.172e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8858/1.096, allocations: 133.7 MB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.097, allocations: 88.08 kB / 1.015 GB, free: 5.039 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.01386/1.111, allocations: 2.967 MB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.111, allocations: 0 / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.111, allocations: 0 / 1.018 GB, free: 2.531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006425/1.111, allocations: 445.6 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.111, allocations: 12.03 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/1.111, allocations: 7.953 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.112, allocations: 178.8 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/1.112, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/1.112, allocations: 7.875 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.112, allocations: 19.44 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/1.112, allocations: 61.53 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.112, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.112, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.112, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/1.113, allocations: 284.3 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.113, allocations: 38.44 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/1.113, allocations: 33.36 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/1.113, allocations: 1.031 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/1.113, allocations: 66.95 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/1.113, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003462/1.113, allocations: 105.5 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.113, allocations: 55.36 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.114, allocations: 117.5 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.114, allocations: 29.7 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/1.114, allocations: 91.95 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/1.114, allocations: 19.8 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/1.114, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.114, allocations: 318.8 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/1.114, allocations: 19.81 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/1.114, allocations: 49.08 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/1.114, allocations: 19.75 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.114, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/1.114, allocations: 93.02 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.114, allocations: 8 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.114, allocations: 4.156 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.114, allocations: 4 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/1.115, allocations: 15.42 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.115, allocations: 7.938 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/1.115, allocations: 10.02 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.115, allocations: 7.984 kB / 1.02 GB, free: 352 kB / 0.6355 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 () * 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 9.736e-05/1.115, allocations: 109.7 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002428/1.115, allocations: 105 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/1.115, allocations: 7.906 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/1.115, allocations: 16.23 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.115, allocations: 4 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.115, allocations: 3.953 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.115, allocations: 0 / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/1.116, allocations: 333.6 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.116, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/1.116, allocations: 11.98 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.116, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.116, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.116, allocations: 3.953 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.116, allocations: 48 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/1.116, allocations: 202.6 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/1.116, allocations: 81.02 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/1.116, allocations: 4.859 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/1.117, allocations: 8 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/1.117, allocations: 15.5 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/1.117, allocations: 4 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.864e-05/1.117, allocations: 91.78 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.117, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004773/1.117, allocations: 55.8 kB / 1.021 GB, free: 15.3 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete 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.0009704/1.118, allocations: 0.7932 MB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001919/1.118, allocations: 55.17 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.118, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/1.119, allocations: 24.12 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.119, allocations: 19.81 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/1.12, allocations: 153.4 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/1.12, allocations: 0.7039 MB / 1.022 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.047e-05/1.12, allocations: 4.188 kB / 1.022 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/1.12, allocations: 19.23 kB / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/1.12, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/1.155, allocations: 2.26 MB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/1.156, allocations: 214.4 kB / 1.025 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.622, allocations: 1.547 kB / 1.025 GB, free: 10.97 MB / 0.6511 GB