Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.0009887/0.0009887, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001113/0.001113, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.002/1.002, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.997/1.997, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] 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.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.7656 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.595e-05, allocations: 3.062 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002954/0.002979, allocations: 1.568 MB / 0.7767 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.00437, allocations: 0.7402 MB / 0.7774 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.004437, allocations: 4.594 kB / 0.7774 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.882e-05/0.004536, allocations: 3.938 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.004588, allocations: 17.03 kB / 0.7774 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.005204, allocations: 132.8 kB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.005365, allocations: 95.3 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.005452, allocations: 7.984 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.00563, allocations: 55.88 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.005702, allocations: 27.91 kB / 0.7777 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.005725, allocations: 8 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.005994, allocations: 131.7 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.006056, allocations: 35.19 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.006101, allocations: 31.86 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.006376, allocations: 167.3 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006378, allocations: 0 / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.00638, allocations: 0 / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.006383, allocations: 0 / 0.7781 GB, free: 2.406 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.0005569/0.00694, allocations: 394.8 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.006982, allocations: 9.344 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.007285, allocations: 37.12 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.007469, allocations: 141.5 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.007487, allocations: 4.375 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.007504, allocations: 4.375 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.007676, allocations: 103.8 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.007684, allocations: 192 / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.007695, allocations: 4.375 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.007703, allocations: 3.938 kB / 0.7788 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.007746, allocations: 35.86 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.00814, allocations: 221.7 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.008242, allocations: 98.8 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.008282, allocations: 29.19 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.008298, allocations: 0 / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.008422, allocations: 113.2 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.543e-06/0.008423, allocations: 0 / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0002991/0.008722, allocations: 233.8 kB / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.008794, allocations: 91.31 kB / 0.7796 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.00889, allocations: 139.8 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.008942, allocations: 57.67 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.008987, allocations: 93.08 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.009073, allocations: 96.27 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.009181, allocations: 93.59 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.00931, allocations: 346.7 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.009409, allocations: 56 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.009527, allocations: 104.1 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.009786, allocations: 221.9 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.009789, allocations: 0 / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003604/0.01015, allocations: 263.2 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.01017, allocations: 11.94 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.01018, allocations: 0 / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.0102, allocations: 4.688 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.01045, allocations: 71.89 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01046, allocations: 4.719 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.01054, allocations: 41.47 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.01057, allocations: 15.98 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001751/0.01074, allocations: 177.6 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.01076, allocations: 7.984 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.01079, allocations: 9.562 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01079, allocations: 4.781 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01079, allocations: 0 / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0108, allocations: 5 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.01117, allocations: 389.7 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01117, allocations: 0 / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.0112, allocations: 4.438 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.01121, allocations: 8.875 kB / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.01122, allocations: 0 / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01122, allocations: 0 / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01122, allocations: 0.9375 kB / 0.7817 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01145, allocations: 312 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.01147, allocations: 23.77 kB / 0.782 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.01151, allocations: 28.98 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.01158, allocations: 4 kB / 0.782 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.01162, allocations: 17 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01163, allocations: 0 / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.01165, allocations: 23.47 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01165, allocations: 0.7188 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003219/0.01198, allocations: 51.94 kB / 0.7821 GB, free: 14.07 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33],win.ran) * Number of discrete states: 33 (win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.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.0004616/0.01244, allocations: 214.7 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.01273, allocations: 217.8 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.01274, allocations: 0 / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.01281, allocations: 56.75 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01303, allocations: 17.23 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.01376, allocations: 322.8 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.01382, allocations: 80.27 kB / 0.783 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.008e-05/0.01387, allocations: 17.48 kB / 0.783 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.01395, allocations: 71.36 kB / 0.7831 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.01395, allocations: 0.9375 kB / 0.7831 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.004241/0.01819, allocations: 2.286 MB / 0.7853 GB, free: 10.92 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.030061301775277]