Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001119/0.001119, allocations: 172.9 kB / 361.4 MB, free: 6.824 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.66/1.66, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008679/0.0008679, allocations: 90.14 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.193e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7925/0.7925, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.9828, allocations: 139.2 MB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.9831, allocations: 84.53 kB / 1.1 GB, free: 496 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.008526/0.9917, allocations: 2.861 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9917, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9917, allocations: 4.969 kB / 1.103 GB, free: 13.68 MB / 0.7136 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.0004924/0.9922, allocations: 430.6 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9923, allocations: 12.53 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.9923, allocations: 5.594 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.9925, allocations: 182.9 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.9925, allocations: 4.562 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.9925, allocations: 4.625 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.566e-05/0.9926, allocations: 23.98 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.9928, allocations: 58.91 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9928, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.9928, allocations: 0.7188 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9928, allocations: 4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.9933, allocations: 275.8 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.9934, allocations: 41.36 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.9935, allocations: 24.98 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.9935, allocations: 0.5625 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.9937, allocations: 72.77 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.9937, allocations: 3.984 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002442/0.9939, allocations: 92.11 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.994, allocations: 59.33 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.9941, allocations: 110 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.9941, allocations: 29.7 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.9942, allocations: 94.53 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.9942, allocations: 19.75 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.9942, allocations: 0 / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9943, allocations: 318.8 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.9944, allocations: 16 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.9944, allocations: 53.16 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.9945, allocations: 19.98 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9945, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001375/0.9947, allocations: 93.45 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9947, allocations: 7.125 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9947, allocations: 4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.9947, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.9948, allocations: 19.98 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9948, allocations: 6.984 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.9949, allocations: 8 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.9949, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 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.857e-05/0.995, allocations: 109.1 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001551/0.9952, allocations: 93.58 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.9952, allocations: 11.89 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.9952, allocations: 8.625 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9952, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9953, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9953, allocations: 7.938 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.9956, allocations: 331.1 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9956, allocations: 8 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.9957, allocations: 4 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9957, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9957, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9957, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9957, allocations: 1.5 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.9959, allocations: 203.3 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.996, allocations: 89.05 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.996, allocations: 0 / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.9961, allocations: 7.984 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.9961, allocations: 5.781 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.9962, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.9962, allocations: 96.2 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9962, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002997/0.9965, allocations: 47.94 kB / 1.106 GB, free: 10.32 MB / 0.7136 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.0007415/0.9973, allocations: 0.8033 MB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.9974, allocations: 52.11 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9974, allocations: 4.125 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.9975, allocations: 24 kB / 1.107 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.9977, allocations: 11.98 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.9982, allocations: 152.5 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.9985, allocations: 0.697 MB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.9986, allocations: 8.188 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.9986, allocations: 23.42 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9986, allocations: 0 / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/1.021, allocations: 2.172 MB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/1.021, allocations: 192.8 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.533, allocations: 1.719 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)