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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001154/0.001154, allocations: 189 kB / 377.1 MB, free: 1.527 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.625/1.625, allocations: 205.4 MB / 0.6367 GB, free: 8.539 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.0009181/0.0009189, allocations: 94.33 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003558, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2858, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7593/1.045, allocations: 140.9 MB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.045, allocations: 81.92 kB / 1.126 GB, free: 34.09 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.008064/1.054, allocations: 2.887 MB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.975e-06/1.054, allocations: 0 / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.054, allocations: 0 / 1.129 GB, free: 32 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.000458/1.054, allocations: 453.4 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.054, allocations: 8.031 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/1.054, allocations: 6.062 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/1.054, allocations: 167.6 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.054, allocations: 9.266 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1.054, allocations: 11.38 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.055, allocations: 67.98 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.055, allocations: 0 / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/1.055, allocations: 9.875 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.055, allocations: 0 / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/1.055, allocations: 46.83 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/1.055, allocations: 307.5 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/1.055, allocations: 49.38 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.055, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/1.056, allocations: 86.31 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/1.056, allocations: 4 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003948/1.056, allocations: 143.2 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/1.056, allocations: 51.41 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/1.056, allocations: 108.9 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/1.056, allocations: 25.7 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/1.056, allocations: 107.7 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/1.056, allocations: 11.81 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.056, allocations: 4.656 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/1.056, allocations: 322.3 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/1.056, allocations: 23.47 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/1.056, allocations: 73.7 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.265e-05/1.056, allocations: 31.38 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.056, allocations: 0 / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001947/1.057, allocations: 116.1 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.057, allocations: 4.656 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.057, allocations: 4 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.057, allocations: 0 / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/1.057, allocations: 24.08 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/1.057, allocations: 5.172 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/1.057, allocations: 15.38 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.057, allocations: 4 kB / 1.131 GB, free: 29.66 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 7.489e-05/1.057, allocations: 129.2 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/1.057, allocations: 7.906 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/1.057, allocations: 4.375 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.057, allocations: 3.938 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.057, allocations: 8 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.057, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/1.057, allocations: 386.4 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.057, allocations: 1.688 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/1.058, allocations: 4 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.058, allocations: 3.516 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/1.058, allocations: 4 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.058, allocations: 4.5 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.058, allocations: 0.5625 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/1.058, allocations: 214.4 kB / 1.132 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/1.058, allocations: 81.11 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/1.058, allocations: 5.188 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/1.058, allocations: 11.56 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.058, allocations: 7.609 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/1.058, allocations: 0.9375 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.404e-05/1.058, allocations: 91.55 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003175/1.058, allocations: 55.89 kB / 1.132 GB, free: 28.63 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.0004198/1.059, allocations: 176.1 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002159/1.059, allocations: 74.53 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.059, allocations: 0 / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/1.059, allocations: 43.77 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/1.059, allocations: 12.59 kB / 1.132 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/1.06, allocations: 209.9 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/1.06, allocations: 0.6957 MB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.595e-05/1.06, allocations: 6.703 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/1.06, allocations: 11.05 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.06, allocations: 0 / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.003788/1.064, allocations: 1.513 MB / 1.135 GB, free: 26.61 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)