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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.934 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.00103/0.00103, allocations: 165 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.56/1.56, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0007937/0.0007938, allocations: 105.6 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.069e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7002/0.8916, allocations: 133.9 MB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.8919, allocations: 85.39 kB / 1.016 GB, free: 3.547 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.008252/0.9002, allocations: 2.852 MB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9002, allocations: 0 / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.9002, allocations: 0 / 1.019 GB, free: 1.141 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.0004637/0.9007, allocations: 436.9 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9007, allocations: 15.97 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.9008, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.9009, allocations: 186.8 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.9009, allocations: 4 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.901, allocations: 4 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.491e-05/0.901, allocations: 23.12 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.9012, allocations: 52.42 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9012, allocations: 0 / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9012, allocations: 0 / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.9012, allocations: 4 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.9017, allocations: 285.6 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.9017, allocations: 33.14 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.9018, allocations: 27.7 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.9018, allocations: 384 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.902, allocations: 69.44 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.902, allocations: 8 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002268/0.9022, allocations: 90.64 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9022, allocations: 55.34 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.9023, allocations: 111.5 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.9024, allocations: 29.7 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.9024, allocations: 87.67 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.9025, allocations: 19.41 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.9025, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9026, allocations: 326.5 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.9026, allocations: 11.81 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.9027, allocations: 52.59 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.9027, allocations: 23.47 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9027, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001292/0.9029, allocations: 93.89 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9029, allocations: 5.562 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9029, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9029, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.903, allocations: 15.98 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.903, allocations: 3.938 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.9031, allocations: 16.06 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.9031, allocations: 4.562 kB / 1.021 GB, free: 14.98 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 7.845e-05/0.9032, allocations: 113.8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001364/0.9033, allocations: 91.52 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.9034, allocations: 7.906 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.9034, allocations: 11.62 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9034, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9034, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9034, allocations: 11.95 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.9037, allocations: 336.4 kB / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9038, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.9038, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9038, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.9038, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9038, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.9039, allocations: 3.953 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.904, allocations: 189.5 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.9041, allocations: 85.02 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.9041, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.9042, allocations: 11.48 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.9042, allocations: 3.953 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.9043, allocations: 7.984 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.9043, allocations: 88.39 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9043, allocations: 3.938 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003377/0.9047, allocations: 55.61 kB / 1.022 GB, free: 13.95 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.0006614/0.9053, allocations: 0.7914 MB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.9055, allocations: 54.66 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9055, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.9055, allocations: 23.25 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.9057, allocations: 11.55 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.9062, allocations: 156.6 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.9064, allocations: 0.6965 MB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.9065, allocations: 4.188 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.9065, allocations: 22.55 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.9065, allocations: 0 / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.9283, allocations: 2.177 MB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.9286, allocations: 196.4 kB / 1.026 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.472, allocations: 0 / 1.026 GB, free: 9.816 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)