Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.182/2.182, allocations: 251 MB / 265.9 MB, free: 11.73 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.001516/0.001517, allocations: 184.8 kB / 325.5 MB, free: 2.914 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.481/2.481, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.0012/0.0012, allocations: 98.81 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.0006281, allocations: 15.38 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2321, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/0.4824, allocations: 133.5 MB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/0.4828, allocations: 83.95 kB / 1.029 GB, free: 12.27 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.01396/0.4968, allocations: 2.893 MB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.4968, allocations: 0 / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4968, allocations: 0 / 1.032 GB, free: 9.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007204/0.4976, allocations: 462.4 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4976, allocations: 8.031 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.4977, allocations: 34.56 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.4977, allocations: 11.86 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4979, allocations: 171 kB / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.4979, allocations: 8 kB / 1.033 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.498, allocations: 7.938 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.4983, allocations: 65.66 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4983, allocations: 0 / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.4983, allocations: 4 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4983, allocations: 0 / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.4986, allocations: 47.97 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.4993, allocations: 300.7 kB / 1.033 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.4995, allocations: 62.44 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4995, allocations: 3.938 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.4998, allocations: 79.5 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.4998, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000659/0.5005, allocations: 153.4 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5005, allocations: 55.41 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5007, allocations: 112.9 kB / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5007, allocations: 25.7 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.5008, allocations: 96.39 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5008, allocations: 19.8 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.5009, allocations: 4 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.501, allocations: 310.8 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.5012, allocations: 27.98 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5013, allocations: 69.12 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.5015, allocations: 27.98 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5015, allocations: 0 / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003874/0.5019, allocations: 121.5 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.5019, allocations: 5.719 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.502, allocations: 11.92 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.502, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5021, allocations: 19.98 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.5022, allocations: 3.953 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5023, allocations: 12.16 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.5023, allocations: 4 kB / 1.034 GB, free: 6.816 MB / 0.6823 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.pDown,bli.pDown,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 (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 0.0001271/0.5024, allocations: 117.8 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.5025, allocations: 7.906 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.5025, allocations: 12.36 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5025, allocations: 3.938 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5026, allocations: 4 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5026, allocations: 3.953 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.5033, allocations: 390.8 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5034, allocations: 4 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.5034, allocations: 7.938 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5035, allocations: 0 / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5035, allocations: 3.984 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5035, allocations: 3.953 kB / 1.035 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5035, allocations: 8 kB / 1.035 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.504, allocations: 205.1 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.5041, allocations: 89 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.5041, allocations: 0 / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.5042, allocations: 8 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.5043, allocations: 15.94 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5043, allocations: 0 / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.5044, allocations: 95.2 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5044, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004573/0.5049, allocations: 55.92 kB / 1.035 GB, free: 5.703 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001167/0.5061, allocations: 0.8083 MB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.5065, allocations: 79.89 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5065, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5067, allocations: 39.92 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.5069, allocations: 15.94 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5082, allocations: 1.201 MB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.5086, allocations: 0.6966 MB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.422e-05/0.5087, allocations: 12.17 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.5087, allocations: 15.38 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/0.5087, allocations: 0 / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.5375, allocations: 2.494 MB / 1.041 GB, free: 412 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.5379, allocations: 242.2 kB / 1.041 GB, free: 156 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.877, allocations: 0 / 1.041 GB, free: 156 kB / 0.6823 GB