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.611/2.611, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.002212/0.002212, allocations: 190.4 kB / 315.4 MB, free: 3.965 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.101/2.101, allocations: 205.3 MB / 0.5662 GB, free: 0.5781 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.001101/0.001101, allocations: 106.4 kB / 0.6704 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.885e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.176, allocations: 133.8 MB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.177, allocations: 89.59 kB / 1.015 GB, free: 5.227 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.01421/1.191, allocations: 3.039 MB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.191, allocations: 4 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.191, allocations: 0 / 1.018 GB, free: 2.652 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.0006994/1.192, allocations: 456.9 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.192, allocations: 11.97 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/1.192, allocations: 16.34 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.192, allocations: 171 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/1.192, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/1.192, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/1.192, allocations: 33.73 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/1.192, allocations: 76.22 kB / 1.019 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.192, allocations: 0 / 1.019 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.192, allocations: 4 kB / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.193, allocations: 4 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/1.193, allocations: 294.4 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/1.193, allocations: 56.69 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/1.193, allocations: 38.7 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.193, allocations: 3.984 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/1.194, allocations: 85.03 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/1.194, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004523/1.194, allocations: 135 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.194, allocations: 58.67 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.194, allocations: 114.3 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.194, allocations: 29.7 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/1.194, allocations: 89.5 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/1.195, allocations: 27.33 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/1.195, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.195, allocations: 318.5 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/1.195, allocations: 19.06 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/1.195, allocations: 69.48 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/1.195, allocations: 21.92 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.195, allocations: 4.031 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002478/1.195, allocations: 105.5 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.195, allocations: 12.16 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.195, allocations: 3.984 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.195, allocations: 4 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/1.195, allocations: 15.94 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.196, allocations: 7.938 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/1.196, allocations: 11.94 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/1.196, allocations: 4 kB / 1.02 GB, free: 348 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.0001183/1.196, allocations: 122.3 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003557/1.196, allocations: 131 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/1.196, allocations: 11.89 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/1.196, allocations: 7.938 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.196, allocations: 4 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.196, allocations: 3.953 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.196, allocations: 0 / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/1.197, allocations: 393 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.197, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/1.197, allocations: 8 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/1.197, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.197, allocations: 3.984 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.197, allocations: 7.953 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.197, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/1.198, allocations: 230.5 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/1.198, allocations: 81.02 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/1.198, allocations: 4.094 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.198, allocations: 11.94 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/1.198, allocations: 7.938 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.198, allocations: 8.859 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.085e-05/1.198, allocations: 97.34 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/1.198, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000494/1.198, allocations: 55.42 kB / 1.021 GB, free: 15.2 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.001096/1.2, allocations: 0.8246 MB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002301/1.2, allocations: 67.5 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.2, allocations: 8.312 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/1.2, allocations: 37.55 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/1.2, allocations: 19.75 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/1.201, allocations: 169.8 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.201, allocations: 0.6963 MB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.534e-05/1.201, allocations: 8 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/1.201, allocations: 17.61 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.201, allocations: 4 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/1.238, allocations: 2.502 MB / 1.025 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/1.238, allocations: 201.8 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.752, allocations: 1.688 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB