Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.961 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.0009648/0.0009648, allocations: 168.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008248/0.0008248, allocations: 88.55 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.475e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6964/0.8819, allocations: 133.8 MB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.8822, allocations: 78.45 kB / 1.016 GB, free: 3.879 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.008321/0.8906, allocations: 2.858 MB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8906, allocations: 0 / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8906, allocations: 0 / 1.019 GB, free: 1.469 MB / 0.6355 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.0005/0.8911, allocations: 436.7 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8912, allocations: 8.031 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.8912, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.8913, allocations: 186.8 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.8914, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.8914, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.376e-05/0.8915, allocations: 19.25 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8916, allocations: 64.09 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8916, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8917, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.8917, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.8921, allocations: 282.3 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.8922, allocations: 44.38 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.8923, allocations: 22.48 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.8923, allocations: 0 / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.8924, allocations: 65.14 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8924, allocations: 4 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002294/0.8927, allocations: 96.58 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8927, allocations: 55.48 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.8928, allocations: 111 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.8929, allocations: 25.7 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.8929, allocations: 99.89 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.8929, allocations: 11.34 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.893, allocations: 5.031 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8931, allocations: 321.7 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.8931, allocations: 18.61 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.8932, allocations: 47.22 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.8933, allocations: 25.98 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8933, allocations: 4 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001471/0.8934, allocations: 83.59 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8934, allocations: 11.98 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8935, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8935, allocations: 4 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.8936, allocations: 11.94 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8936, allocations: 7.938 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.8937, allocations: 16.05 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.8937, allocations: 4 kB / 1.021 GB, free: 15.31 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.407e-05/0.8938, allocations: 112.2 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001511/0.8939, allocations: 98.55 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.894, allocations: 3.906 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.894, allocations: 8.625 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.894, allocations: 3.984 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/0.894, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.894, allocations: 7.953 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.8944, allocations: 332.3 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8944, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.8944, allocations: 8.031 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.8945, allocations: 3.984 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8945, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8945, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8945, allocations: 7.891 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.8947, allocations: 191 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.8947, allocations: 81.02 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.8948, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.8949, allocations: 4 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.8949, allocations: 14.19 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.8949, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.895, allocations: 91.3 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.895, allocations: 4 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003134/0.8953, allocations: 51.31 kB / 1.022 GB, free: 14.28 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.0007535/0.8961, allocations: 0.8009 MB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.8962, allocations: 41.75 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8962, allocations: 4 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.8963, allocations: 25.48 kB / 1.023 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.8965, allocations: 7.969 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.897, allocations: 156.1 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.8973, allocations: 0.6966 MB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.8973, allocations: 8.172 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.8974, allocations: 14.25 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.8974, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.9191, allocations: 2.197 MB / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/0.9194, allocations: 188.4 kB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.461, allocations: 2.188 kB / 1.026 GB, free: 10.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)