Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001215/0.001215, allocations: 186.7 kB / 326.5 MB, free: 2.262 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.122/2.122, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009843/0.0009843, allocations: 93.91 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.245, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.4518, allocations: 133.6 MB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4521, allocations: 87.94 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.008777/0.4609, allocations: 2.896 MB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.437e-06/0.461, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.461, allocations: 0 / 1.034 GB, free: 7.09 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.0007617/0.4618, allocations: 454.4 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4619, allocations: 15.97 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.4619, allocations: 30.56 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.462, allocations: 7.906 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.4622, allocations: 174.9 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.4622, allocations: 8 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4622, allocations: 4 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4625, allocations: 73.59 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4625, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4625, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4626, allocations: 3.938 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.4627, allocations: 43.97 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.4634, allocations: 308.7 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4637, allocations: 46.56 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.4637, allocations: 3.938 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.464, allocations: 79.5 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.417e-06/0.464, allocations: 4 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006061/0.4646, allocations: 145.6 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.4647, allocations: 59.36 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4649, allocations: 109 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4649, allocations: 29.7 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.465, allocations: 96.31 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.4651, allocations: 19.75 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4651, allocations: 0 / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4653, allocations: 314.8 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.4654, allocations: 29.91 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.4655, allocations: 65.14 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4656, allocations: 35.97 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4656, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002738/0.4659, allocations: 121.4 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4659, allocations: 6.188 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.466, allocations: 4 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.466, allocations: 0 / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4661, allocations: 23.92 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.4661, allocations: 4.156 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.4662, allocations: 11.95 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4662, allocations: 4 kB / 1.036 GB, free: 4.543 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.000119/0.4663, allocations: 125.7 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.4664, allocations: 11.89 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.4664, allocations: 4.375 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4664, allocations: 0 / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4664, allocations: 4 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4665, allocations: 4 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.467, allocations: 394.3 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.467, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4671, allocations: 7.984 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4671, allocations: 0 / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4671, allocations: 0 / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4671, allocations: 8 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4671, allocations: 3.953 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4674, allocations: 207.8 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.4675, allocations: 85.02 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4675, allocations: 4 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.4676, allocations: 8 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4677, allocations: 11.94 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4677, allocations: 0 / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.4678, allocations: 91.27 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4678, allocations: 0 / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004331/0.4682, allocations: 51.92 kB / 1.037 GB, free: 3.441 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.001071/0.4693, allocations: 0.8248 MB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4696, allocations: 79.91 kB / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4696, allocations: 0 / 1.038 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.4697, allocations: 35.92 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4699, allocations: 7.984 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4711, allocations: 1.209 MB / 1.039 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4714, allocations: 0.6965 MB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.4714, allocations: 4.188 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.4715, allocations: 25.3 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.4715, allocations: 0 / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.4852, allocations: 2.492 MB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.4855, allocations: 234 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.163, allocations: 6.031 kB / 1.042 GB, free: 13.88 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)