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.562/1.562, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001101/0.0011, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008336/0.0008336, allocations: 97.2 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.306e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7554/0.9498, allocations: 133.5 MB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.9501, allocations: 85.38 kB / 1.022 GB, free: 1.125 MB / 0.6355 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.00846/0.9586, allocations: 2.874 MB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9586, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9586, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 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.0004736/0.9591, allocations: 437 kB / 1.026 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9591, allocations: 8.031 kB / 1.026 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.9592, allocations: 42.17 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.9592, allocations: 3.938 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9593, allocations: 178.9 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.9594, allocations: 7.125 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.9594, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.9595, allocations: 59.05 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9596, allocations: 4 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.9596, allocations: 7.922 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9596, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.091e-05/0.9597, allocations: 25.12 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.9601, allocations: 297.5 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.9602, allocations: 40.83 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.9603, allocations: 24.36 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.9603, allocations: 3.938 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.9604, allocations: 77.56 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.9604, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002282/0.9607, allocations: 99.42 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.9607, allocations: 55.41 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.9608, allocations: 112.6 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.9608, allocations: 25.7 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.9609, allocations: 95.05 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.9609, allocations: 15.66 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.9609, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9611, allocations: 318.4 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.9611, allocations: 19.25 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.9612, allocations: 60.14 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.9612, allocations: 23.8 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9612, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001496/0.9614, allocations: 103.4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.9614, allocations: 8 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9614, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9615, allocations: 7.938 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.9616, allocations: 15.92 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9616, allocations: 7.953 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.9616, allocations: 11.89 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.9617, allocations: 4 kB / 1.027 GB, free: 12.4 MB / 0.6511 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 () * 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 8.751e-05/0.9618, allocations: 112.8 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.9618, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9618, allocations: 7.875 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9618, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9618, allocations: 4 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9619, allocations: 3.953 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.9622, allocations: 370.4 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9622, allocations: 4 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.9623, allocations: 11.98 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9623, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9623, allocations: 0 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9623, allocations: 3.953 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9623, allocations: 4 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.9626, allocations: 202.4 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.9626, allocations: 81.11 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.9626, allocations: 4 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.9627, allocations: 4 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.9628, allocations: 11.94 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.9628, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.9628, allocations: 101.4 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.505e-06/0.9629, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000281/0.9631, allocations: 51.12 kB / 1.028 GB, free: 11.41 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.pDown,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.0007903/0.9639, allocations: 0.795 MB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.9641, allocations: 57.42 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9641, allocations: 320 / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.9642, allocations: 27.31 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.9644, allocations: 18.75 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.9649, allocations: 166.6 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.9651, allocations: 0.6887 MB / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.9652, allocations: 4.188 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.9652, allocations: 23.55 kB / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/0.9652, allocations: 4 kB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.9791, allocations: 2.504 MB / 1.032 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.9793, allocations: 222.7 kB / 1.033 GB, free: 7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.593, allocations: 0 / 1.033 GB, free: 7 MB / 0.6511 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)