Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 289.7 MB / 302.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.8 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009823/0.0009821, allocations: 86.41 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.033e-05/5.037e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.235, allocations: 140.8 MB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.235, allocations: 83.88 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.007935/1.243, allocations: 2.864 MB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.794e-06/1.243, allocations: 0 / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.243, allocations: 0 / 1.12 GB, free: 41.58 MB / 0.7448 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.0004237/1.243, allocations: 439.4 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.243, allocations: 12.03 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/1.243, allocations: 31.75 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/1.243, allocations: 10.41 kB / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/1.244, allocations: 179.1 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.244, allocations: 11.22 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.244, allocations: 4 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.244, allocations: 59.8 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.244, allocations: 0 / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.244, allocations: 0 / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.244, allocations: 0 / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/1.244, allocations: 32.55 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/1.244, allocations: 295 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/1.244, allocations: 42.02 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/1.245, allocations: 28.98 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/1.245, allocations: 4 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/1.245, allocations: 69.58 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/1.245, allocations: 3.938 kB / 1.121 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002452/1.245, allocations: 99.98 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.245, allocations: 59.36 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.245, allocations: 111.8 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.245, allocations: 29.64 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/1.245, allocations: 95.7 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/1.245, allocations: 19.12 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/1.245, allocations: 3.5 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/1.245, allocations: 318 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/1.245, allocations: 15.81 kB / 1.122 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/1.245, allocations: 49.58 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/1.245, allocations: 27.23 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.245, allocations: 0 / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001526/1.246, allocations: 100.4 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.246, allocations: 8 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.246, allocations: 4.156 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.246, allocations: 0.8438 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/1.246, allocations: 15.47 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.246, allocations: 4.703 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/1.246, allocations: 12.08 kB / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.246, allocations: 11.81 kB / 1.122 GB, free: 39.43 MB / 0.7448 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 7.445e-05/1.246, allocations: 110.6 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/1.246, allocations: 11.91 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/1.246, allocations: 4.625 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.246, allocations: 1.219 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.246, allocations: 9.047 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.246, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/1.246, allocations: 364.6 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.246, allocations: 0 / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/1.246, allocations: 7.875 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.246, allocations: 0.625 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.246, allocations: 7.328 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.247, allocations: 0 / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.247, allocations: 4.812 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/1.247, allocations: 200.6 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/1.247, allocations: 82.08 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/1.247, allocations: 4 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/1.247, allocations: 11.27 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/1.247, allocations: 5.031 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.247, allocations: 15.72 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.2e-05/1.247, allocations: 89.3 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.247, allocations: 4.656 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003031/1.247, allocations: 51.2 kB / 1.123 GB, free: 38.5 MB / 0.7448 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.0006865/1.248, allocations: 0.7874 MB / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.248, allocations: 58.16 kB / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.248, allocations: 0 / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/1.248, allocations: 27.27 kB / 1.124 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.248, allocations: 14.31 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/1.249, allocations: 163.4 kB / 1.124 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/1.249, allocations: 0.6877 MB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.709e-05/1.249, allocations: 14.05 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/1.249, allocations: 19 kB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.249, allocations: 1.219 kB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.263, allocations: 2.492 MB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.263, allocations: 197.5 kB / 1.128 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.946, allocations: 6.391 kB / 1.128 GB, free: 35.21 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)