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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 288.4 MB / 304.3 MB, free: 8.035 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.0009293/0.0009294, allocations: 188.3 kB / 373 MB, free: 10.15 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.295/1.295, allocations: 205.4 MB / 0.6317 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006816/0.0006816, allocations: 104.8 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 10.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1777, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5969/0.7746, allocations: 140 MB / 1.117 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.7749, allocations: 81.52 kB / 1.117 GB, free: 16.51 MB / 0.6823 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.008138/0.7831, allocations: 2.905 MB / 1.12 GB, free: 32.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.055e-06/0.7831, allocations: 3.938 kB / 1.12 GB, free: 32.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7831, allocations: 3.938 kB / 1.12 GB, free: 32.05 MB / 0.698 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.0004692/0.7836, allocations: 448.4 kB / 1.121 GB, free: 31.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7836, allocations: 7.844 kB / 1.121 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.7836, allocations: 4.812 kB / 1.121 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.7837, allocations: 176 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.7838, allocations: 7.156 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.7838, allocations: 7.719 kB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.784, allocations: 64.73 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.7841, allocations: 4.188 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7841, allocations: 11.09 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7841, allocations: 0 / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.7842, allocations: 46.31 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.7847, allocations: 301.5 kB / 1.121 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.7848, allocations: 53.11 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.7849, allocations: 39.02 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.7849, allocations: 0 / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.7851, allocations: 86.92 kB / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7851, allocations: 0 / 1.122 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003657/0.7855, allocations: 145.2 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.7855, allocations: 62.28 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/0.7856, allocations: 117.6 kB / 1.122 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.7856, allocations: 28.95 kB / 1.122 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.7857, allocations: 90.23 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.7857, allocations: 10.75 kB / 1.122 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.7857, allocations: 6.844 kB / 1.122 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7858, allocations: 320.4 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.7859, allocations: 31.12 kB / 1.122 GB, free: 30.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.786, allocations: 68.08 kB / 1.122 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.7861, allocations: 94.11 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7861, allocations: 3.906 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002037/0.7863, allocations: 119 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7864, allocations: 11.62 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7864, allocations: 2.812 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7864, allocations: 0 / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.7865, allocations: 18.17 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.7865, allocations: 3.844 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.7866, allocations: 3.969 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.7866, allocations: 11.66 kB / 1.123 GB, free: 30.18 MB / 0.698 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 9.463e-05/0.7867, allocations: 129.4 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.7867, allocations: 3.906 kB / 1.123 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.7867, allocations: 11.41 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7867, allocations: 3.938 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7867, allocations: 0 / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7868, allocations: 2.859 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.7872, allocations: 389.7 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7872, allocations: 3.984 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.7872, allocations: 3.812 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7872, allocations: 3.844 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.7872, allocations: 3.422 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7873, allocations: 0 / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7873, allocations: 0 / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.7875, allocations: 226.8 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.7876, allocations: 87.58 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.7876, allocations: 3.875 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.7877, allocations: 3.844 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.7877, allocations: 15.11 kB / 1.123 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.7877, allocations: 0 / 1.123 GB, free: 29.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.282e-05/0.7878, allocations: 94.14 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7878, allocations: 0 / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000296/0.7881, allocations: 49.16 kB / 1.124 GB, free: 29.4 MB / 0.698 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.0003017/0.7884, allocations: 167.6 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.7887, allocations: 72.7 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7887, allocations: 3.938 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.7888, allocations: 41.44 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.789, allocations: 21.36 kB / 1.124 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.7894, allocations: 206.1 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.7897, allocations: 0.6885 MB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.7897, allocations: 10.97 kB / 1.125 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.7897, allocations: 11.28 kB / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.7897, allocations: 0 / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of Templates: time 0.003522/0.7933, allocations: 1.515 MB / 1.126 GB, free: 28.3 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)