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.375/2.375, allocations: 251 MB / 265.9 MB, free: 11.7 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.001457/0.001456, allocations: 175 kB / 325.5 MB, free: 2.91 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.508/2.508, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001068/0.001068, allocations: 96.86 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007254/0.0007256, allocations: 12.81 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2207, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.4534, allocations: 133.6 MB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005154/0.4539, allocations: 87.94 kB / 1.029 GB, free: 12.11 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.02323/0.4772, allocations: 3.064 MB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.227e-06/0.4773, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.4773, allocations: 0 / 1.032 GB, free: 9.035 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.001035/0.4783, allocations: 476.1 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.4784, allocations: 8.031 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.4785, allocations: 34.56 kB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.4786, allocations: 11.86 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.4788, allocations: 175 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.4789, allocations: 8 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.4789, allocations: 4 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.4795, allocations: 89.64 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4795, allocations: 0 / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.4796, allocations: 7.922 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4796, allocations: 0 / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.48, allocations: 55.91 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4811, allocations: 336.5 kB / 1.034 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.4816, allocations: 70.55 kB / 1.034 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.4816, allocations: 0 / 1.034 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.4821, allocations: 103.4 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.135e-06/0.4821, allocations: 0 / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.001193/0.4833, allocations: 193.4 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.4835, allocations: 59.41 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4837, allocations: 119 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.4837, allocations: 29.7 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.4838, allocations: 92.38 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-05/0.4839, allocations: 23.7 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.484, allocations: 0 / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4842, allocations: 318.8 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.4844, allocations: 35.97 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4848, allocations: 73.94 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.485, allocations: 39.98 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4851, allocations: 0 / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007335/0.4858, allocations: 137.4 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4859, allocations: 12.16 kB / 1.035 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4859, allocations: 0 / 1.035 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.4859, allocations: 4 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.4862, allocations: 19.92 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.4862, allocations: 3.953 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.4864, allocations: 15.94 kB / 1.035 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4865, allocations: 4.375 kB / 1.035 GB, free: 6.27 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.0002196/0.4867, allocations: 133.6 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.4868, allocations: 7.906 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.4869, allocations: 8.469 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4869, allocations: 11.92 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4869, allocations: 4 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.487, allocations: 3.953 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.4884, allocations: 438.6 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4884, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4885, allocations: 7.984 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.4886, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.4886, allocations: 4 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.4886, allocations: 7.891 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.4887, allocations: 7.969 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/0.4896, allocations: 257 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.4897, allocations: 81.02 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.4898, allocations: 3.984 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4901, allocations: 8 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.4902, allocations: 7.938 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.4903, allocations: 8 kB / 1.036 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4904, allocations: 101.5 kB / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.11e-07/0.4904, allocations: 0 / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007778/0.4912, allocations: 55.92 kB / 1.036 GB, free: 5.039 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.002026/0.4933, allocations: 0.8571 MB / 1.037 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.4941, allocations: 87.89 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4941, allocations: 4.312 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.4945, allocations: 55.91 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.4949, allocations: 12.89 kB / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4972, allocations: 1.378 MB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.4977, allocations: 0.6965 MB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.4979, allocations: 8 kB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.498, allocations: 27.36 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/0.498, allocations: 0 / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.5258, allocations: 2.82 MB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003726/0.5262, allocations: 247 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.909, allocations: 1.875 kB / 1.042 GB, free: 14.87 MB / 0.698 GB