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 2.239/2.239, allocations: 252 MB / 267.3 MB, free: 10.86 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.002035/0.002035, allocations: 170.6 kB / 327 MB, free: 2.109 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.958/2.958, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001166/0.001166, allocations: 83.73 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005474, allocations: 11.31 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3928, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002904/0.3958, allocations: 1.211 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3977, allocations: 0.7758 MB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.3978, allocations: 0 / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.3979, allocations: 0 / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.398, allocations: 15.8 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.3988, allocations: 95.77 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.399, allocations: 63.84 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3991, allocations: 12 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3992, allocations: 35.84 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.3993, allocations: 27.84 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3994, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.3997, allocations: 83.91 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.3997, allocations: 15.92 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.3998, allocations: 57.56 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.4002, allocations: 131.6 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4002, allocations: 4 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4003, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4003, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 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.0008536/0.4011, allocations: 432.1 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.4012, allocations: 8.031 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.189e-05/0.4013, allocations: 34.75 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.4014, allocations: 12.84 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4016, allocations: 184.2 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.4017, allocations: 384 / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.4017, allocations: 8.375 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.402, allocations: 89.64 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.402, allocations: 0 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4021, allocations: 0 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4021, allocations: 0 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.4023, allocations: 47.97 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.403, allocations: 296.7 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.4032, allocations: 58.44 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4034, allocations: 32.97 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.4035, allocations: 4 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.4038, allocations: 83.44 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.579e-06/0.4038, allocations: 4 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006509/0.4045, allocations: 137.6 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4046, allocations: 59.34 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4047, allocations: 125.8 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4048, allocations: 25.7 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.4048, allocations: 96.12 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4049, allocations: 15.75 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.4049, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.405, allocations: 326.8 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4052, allocations: 23.98 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4053, allocations: 65.14 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4056, allocations: 97.06 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4057, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000396/0.4061, allocations: 117.4 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.4061, allocations: 8.156 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.4061, allocations: 4 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.4062, allocations: 4 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.4063, allocations: 15.92 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4064, allocations: 4 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4065, allocations: 8 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4065, allocations: 4 kB / 0.9057 GB, free: 58.2 MB / 0.6042 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,occ.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.4067, allocations: 125.7 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4067, allocations: 11.89 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.4068, allocations: 16.31 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4068, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4068, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.4068, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.4076, allocations: 382.5 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.4077, allocations: 11.98 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.4077, allocations: 7.984 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.4077, allocations: 0 / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4078, allocations: 7.938 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4078, allocations: 7.875 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4078, allocations: 0 / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4082, allocations: 219.4 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.4083, allocations: 81.02 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4083, allocations: 4 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4084, allocations: 7.938 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.4085, allocations: 3.984 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4086, allocations: 12 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.4086, allocations: 91.92 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4086, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00055/0.4092, allocations: 43.98 kB / 0.9067 GB, free: 57.08 MB / 0.6042 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,occ.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.4102, allocations: 0.7966 MB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.4105, allocations: 75.89 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4106, allocations: 0 / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4107, allocations: 44.23 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.4112, allocations: 23.86 kB / 0.9076 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.4133, allocations: 1.543 MB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.4135, allocations: 0.6926 MB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.4136, allocations: 8 kB / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.4137, allocations: 19.42 kB / 0.9098 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.4137, allocations: 0 / 0.9098 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4325, allocations: 2.331 MB / 0.9121 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/0.4328, allocations: 268.7 kB / 0.9123 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/2.966, allocations: 4 kB / 0.9123 GB, free: 51.22 MB / 0.6042 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)