Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001206/0.001206, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.737/1.737, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009489/0.0009486, allocations: 90 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.976e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7479, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.967, allocations: 140.2 MB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.9674, allocations: 79.95 kB / 1.11 GB, free: 9.934 MB / 0.7136 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.009265/0.9767, allocations: 2.857 MB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9767, allocations: 0 / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.9767, allocations: 0.625 kB / 1.113 GB, free: 7.102 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.000601/0.9773, allocations: 439.1 kB / 1.114 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.9774, allocations: 8.031 kB / 1.114 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.9774, allocations: 8.688 kB / 1.114 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.9776, allocations: 178.9 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.9777, allocations: 1.406 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.9777, allocations: 5.312 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.645e-05/0.9778, allocations: 23.98 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.9779, allocations: 59.14 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9779, allocations: 0 / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.978, allocations: 0 / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.978, allocations: 0 / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.9785, allocations: 280.3 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.9786, allocations: 42.52 kB / 1.114 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.9787, allocations: 26.3 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.9787, allocations: 0 / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.9788, allocations: 70.77 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.9789, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000247/0.9791, allocations: 86.3 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.9792, allocations: 61.36 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9793, allocations: 116.2 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.9793, allocations: 33.58 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.9794, allocations: 92.91 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.9794, allocations: 16.38 kB / 1.115 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-06/0.9794, allocations: 0 / 1.115 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9796, allocations: 328.1 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.9796, allocations: 12 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.9797, allocations: 50.47 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.9798, allocations: 23.97 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9798, allocations: 0 / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001533/0.9799, allocations: 93.45 kB / 1.115 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9799, allocations: 8 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.98, allocations: 4.156 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.98, allocations: 4 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.9801, allocations: 14.61 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.9801, allocations: 4 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.9802, allocations: 7.938 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.9802, allocations: 4 kB / 1.115 GB, free: 4.836 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 9.101e-05/0.9803, allocations: 114.3 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001495/0.9805, allocations: 93.58 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.9805, allocations: 15.45 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.9805, allocations: 8.625 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9805, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9805, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.9806, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.9809, allocations: 341 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9809, allocations: 0 / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.981, allocations: 4 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.981, allocations: 4 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.981, allocations: 8 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.981, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.981, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.9813, allocations: 203.2 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.9813, allocations: 77.11 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.9813, allocations: 0 / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.9815, allocations: 9.797 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.9815, allocations: 12 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.9815, allocations: 7.984 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.9816, allocations: 91.23 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9816, allocations: 0 / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003551/0.982, allocations: 43.94 kB / 1.116 GB, free: 3.746 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.0008676/0.9828, allocations: 0.7964 MB / 1.117 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.983, allocations: 47.92 kB / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.983, allocations: 4 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.9831, allocations: 20 kB / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.9833, allocations: 13.08 kB / 1.117 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.9838, allocations: 151.3 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.9841, allocations: 0.697 MB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.9842, allocations: 5.438 kB / 1.118 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.9842, allocations: 19.42 kB / 1.118 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9842, allocations: 3.938 kB / 1.118 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/1.008, allocations: 2.178 MB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1.009, allocations: 184.5 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.579, allocations: 0 / 1.12 GB, free: 15.61 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)