Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 79.75 kB / 21.74 MB, free: 2.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 170.2 kB / 25.18 MB, free: 9.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 205.6 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.949/1.949, allocations: 389.6 MB / 0.6364 GB, free: 12.19 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.7755 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.49e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00309/0.003125, allocations: 1.605 MB / 0.7771 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004488, allocations: 0.7813 MB / 0.7778 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.00459, allocations: 6.625 kB / 0.7778 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.004707, allocations: 3.938 kB / 0.7778 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.004759, allocations: 17.83 kB / 0.7779 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.005348, allocations: 133.8 kB / 0.778 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.005493, allocations: 82.44 kB / 0.7781 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.005573, allocations: 16.59 kB / 0.7781 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.005726, allocations: 52.56 kB / 0.7781 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.005785, allocations: 27.95 kB / 0.7782 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.005803, allocations: 4.531 kB / 0.7782 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.006088, allocations: 143.7 kB / 0.7783 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.006142, allocations: 32.48 kB / 0.7783 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.00618, allocations: 28.5 kB / 0.7784 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.006441, allocations: 175.4 kB / 0.7785 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.006445, allocations: 5.484 kB / 0.7785 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006446, allocations: 0 / 0.7785 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.00645, allocations: 0 / 0.7785 GB, free: 2.949 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004982/0.006948, allocations: 421.5 kB / 0.7789 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.006984, allocations: 13.34 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.007221, allocations: 25.66 kB / 0.779 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.007411, allocations: 151.8 kB / 0.7791 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.007429, allocations: 5.031 kB / 0.7791 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.007447, allocations: 8.375 kB / 0.7791 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.007611, allocations: 104.4 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.00762, allocations: 1.719 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.00763, allocations: 4.359 kB / 0.7792 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007637, allocations: 3.938 kB / 0.7792 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.007677, allocations: 24 kB / 0.7793 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.007966, allocations: 199.5 kB / 0.7794 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.008055, allocations: 87.72 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.008093, allocations: 33.17 kB / 0.7796 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008109, allocations: 4 kB / 0.7796 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.008227, allocations: 110.7 kB / 0.7797 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.008229, allocations: 0 / 0.7797 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.000284/0.008513, allocations: 233 kB / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.008579, allocations: 91.97 kB / 0.78 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.00867, allocations: 142.6 kB / 0.7801 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.008713, allocations: 54.22 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.008756, allocations: 98.73 kB / 0.7803 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.008832, allocations: 99.3 kB / 0.7804 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.008935, allocations: 97.97 kB / 0.7805 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.009035, allocations: 338.8 kB / 0.7808 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.009115, allocations: 51.84 kB / 0.7808 GB, free: 456 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.009228, allocations: 128.5 kB / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.009483, allocations: 243.5 kB / 0.7812 GB, free: 32 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009486, allocations: 0 / 0.7812 GB, free: 32 kB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003554/0.009841, allocations: 272.2 kB / 0.7814 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.009861, allocations: 15.92 kB / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.009868, allocations: 0 / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00988, allocations: 5.75 kB / 0.7815 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.01011, allocations: 75.91 kB / 0.7815 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01012, allocations: 4 kB / 0.7815 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.0102, allocations: 47.61 kB / 0.7816 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01022, allocations: 9.219 kB / 0.7816 GB, free: 15.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 75 (bli.state[33],$PRE.bli.state[33],bli.state[32],$PRE.bli.state[32],bli.state[31],$PRE.bli.state[31],bli.state[30],$PRE.bli.state[30],bli.state[29],$PRE.bli.state[29],bli.state[28],$PRE.bli.state[28],bli.state[27],$PRE.bli.state[27],bli.state[26],$PRE.bli.state[26],bli.state[25],$PRE.bli.state[25],bli.state[24],$PRE.bli.state[24],bli.state[23],$PRE.bli.state[23],bli.state[22],$PRE.bli.state[22],bli.state[21],$PRE.bli.state[21],bli.state[20],$PRE.bli.state[20],bli.state[19],$PRE.bli.state[19],bli.state[18],$PRE.bli.state[18],bli.state[17],$PRE.bli.state[17],bli.state[16],$PRE.bli.state[16],bli.state[15],$PRE.bli.state[15],bli.state[14],$PRE.bli.state[14],bli.state[13],$PRE.bli.state[13],bli.state[12],$PRE.bli.state[12],bli.state[11],$PRE.bli.state[11],bli.state[10],$PRE.bli.state[10],bli.state[9],$PRE.bli.state[9],bli.state[8],$PRE.bli.state[8],bli.state[7],$PRE.bli.state[7],bli.state[6],$PRE.bli.state[6],bli.state[5],$PRE.bli.state[5],bli.state[4],$PRE.bli.state[4],bli.state[3],$PRE.bli.state[3],bli.state[2],$PRE.bli.state[2],bli.state[1],$PRE.bli.state[1],bli.ran,$PRE.bli.ran,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.01038, allocations: 189.2 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.0104, allocations: 4 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.01043, allocations: 16.31 kB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01043, allocations: 0 / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01043, allocations: 0 / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01044, allocations: 3.984 kB / 0.7818 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.01079, allocations: 388.3 kB / 0.7822 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0108, allocations: 0 / 0.7822 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.01082, allocations: 4 kB / 0.7822 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01083, allocations: 6.844 kB / 0.7822 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01084, allocations: 4 kB / 0.7822 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01084, allocations: 0 / 0.7822 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01084, allocations: 3.984 kB / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.01107, allocations: 305.1 kB / 0.7825 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01109, allocations: 19.78 kB / 0.7825 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.01113, allocations: 27.98 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.0112, allocations: 4 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.01123, allocations: 5.453 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01124, allocations: 8 kB / 0.7825 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.01127, allocations: 23.28 kB / 0.7826 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01127, allocations: 0 / 0.7826 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003094/0.01158, allocations: 61.27 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.state[1],bli.state[2],bli.state[3],bli.state[4],bli.state[5],bli.state[6],bli.state[7],bli.state[8],bli.state[9],bli.state[10],bli.state[11],bli.state[12],bli.state[13],bli.state[14],bli.state[15],bli.state[16],bli.state[17],bli.state[18],bli.state[19],bli.state[20],bli.state[21],bli.state[22],bli.state[23],bli.state[24],bli.state[25],bli.state[26],bli.state[27],bli.state[28],bli.state[29],bli.state[30],bli.state[31],bli.state[32],bli.state[33],bli.ran) * Number of discrete states: 34 (bli.pDown,bli.state[1],bli.state[2],bli.state[3],bli.state[4],bli.state[5],bli.state[6],bli.state[7],bli.state[8],bli.state[9],bli.state[10],bli.state[11],bli.state[12],bli.state[13],bli.state[14],bli.state[15],bli.state[16],bli.state[17],bli.state[18],bli.state[19],bli.state[20],bli.state[21],bli.state[22],bli.state[23],bli.state[24],bli.state[25],bli.state[26],bli.state[27],bli.state[28],bli.state[29],bli.state[30],bli.state[31],bli.state[32],bli.state[33]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004242/0.012, allocations: 227.5 kB / 0.7828 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.01225, allocations: 163.9 kB / 0.783 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01225, allocations: 0.6562 kB / 0.783 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.01255, allocations: 52.81 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01275, allocations: 21.66 kB / 0.7831 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.01346, allocations: 357.6 kB / 0.7834 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.01356, allocations: 109.5 kB / 0.7835 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.01364, allocations: 67.36 kB / 0.7836 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01364, allocations: 0 / 0.7836 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.004015/0.01765, allocations: 2.661 MB / 0.7862 GB, free: 10.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut > Buildings_13_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.163581404834986]