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.771/1.771, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001213/0.001213, allocations: 176.3 kB / 377.1 MB, free: 1.531 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.9/1.9, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009284/0.0009285, allocations: 92.12 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004711, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2956, allocations: 116.3 MB / 0.9884 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.994, allocations: 140.9 MB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.9942, allocations: 83.7 kB / 1.126 GB, free: 34.06 MB / 0.7292 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.007585/1.002, allocations: 2.89 MB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/1.002, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.002, allocations: 0 / 1.129 GB, free: 31.97 MB / 0.7292 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.0004318/1.002, allocations: 451.8 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.002, allocations: 20.02 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/1.002, allocations: 35.25 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/1.002, allocations: 6.062 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/1.003, allocations: 175.1 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/1.003, allocations: 7.422 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/1.003, allocations: 8 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/1.003, allocations: 75.66 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.003, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.003, allocations: 4 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.003, allocations: 1.344 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/1.003, allocations: 42.89 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/1.003, allocations: 300.6 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.003, allocations: 50.05 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/1.004, allocations: 7.938 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/1.004, allocations: 80.2 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.004, allocations: 4 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003601/1.004, allocations: 144.9 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.004, allocations: 58.92 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/1.004, allocations: 114 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/1.004, allocations: 25.7 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/1.004, allocations: 103.7 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/1.004, allocations: 15.81 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/1.004, allocations: 0.9375 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/1.004, allocations: 318.2 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/1.004, allocations: 23.56 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/1.004, allocations: 68 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/1.005, allocations: 24 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.005, allocations: 0 / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001896/1.005, allocations: 119.3 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.005, allocations: 9.719 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.005, allocations: 4.938 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.005, allocations: 4 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/1.005, allocations: 20.16 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.005, allocations: 160 / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/1.005, allocations: 19.38 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.005, allocations: 7.953 kB / 1.131 GB, free: 29.57 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/1.005, allocations: 121.8 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/1.005, allocations: 7.906 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/1.005, allocations: 8.375 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.005, allocations: 2.719 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.005, allocations: 0.5 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.005, allocations: 12.06 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/1.005, allocations: 377.9 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.005, allocations: 4.625 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/1.006, allocations: 4 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.006, allocations: 3.562 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.006, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.006, allocations: 5.5 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.006, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/1.006, allocations: 226.2 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/1.006, allocations: 77.11 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.006, allocations: 4 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/1.006, allocations: 11.92 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/1.006, allocations: 3.422 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/1.006, allocations: 4 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.346e-05/1.006, allocations: 99.83 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.006, allocations: 0 / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002826/1.006, allocations: 52.3 kB / 1.132 GB, free: 28.55 MB / 0.7292 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 () * 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 (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.000629/1.007, allocations: 0.8197 MB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002123/1.007, allocations: 74.3 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.007, allocations: 0 / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/1.007, allocations: 35.52 kB / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/1.007, allocations: 12.08 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/1.008, allocations: 1.21 MB / 1.134 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/1.008, allocations: 0.6964 MB / 1.135 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.378e-05/1.008, allocations: 8.953 kB / 1.135 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/1.008, allocations: 15.44 kB / 1.135 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of SimCode: time 5.52e-06/1.008, allocations: 0 / 1.135 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/1.023, allocations: 2.488 MB / 1.137 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.023, allocations: 230.9 kB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.677, allocations: 0 / 1.138 GB, free: 24.07 MB / 0.7292 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)