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.0008705/0.0008705, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009292/0.0009292, allocations: 173.8 kB / 25.18 MB, free: 9.109 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 0.9236/0.9236, allocations: 177.2 MB / 205.6 MB, free: 4.355 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.957/1.957, allocations: 389.6 MB / 0.6364 GB, free: 13.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 2.134e-06/2.134e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.482e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002315/0.00234, allocations: 1.603 MB / 0.7771 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003409, allocations: 0.7321 MB / 0.7778 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.003477, allocations: 7.938 kB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003577, allocations: 11.92 kB / 0.7779 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.003616, allocations: 11.86 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.004111, allocations: 127.5 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.004229, allocations: 83.7 kB / 0.7781 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.004306, allocations: 15.92 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004444, allocations: 51.89 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.004499, allocations: 39.88 kB / 0.7782 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.004517, allocations: 7.938 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.004734, allocations: 135.7 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.004777, allocations: 27.92 kB / 0.7783 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.004813, allocations: 31.84 kB / 0.7784 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005023, allocations: 167.4 kB / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005025, allocations: 0 / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005026, allocations: 0 / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.00503, allocations: 0 / 0.7785 GB, free: 11.5 MB / 0.7448 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.0004737/0.005504, allocations: 394.7 kB / 0.7789 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.005536, allocations: 12.03 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.005749, allocations: 40.91 kB / 0.779 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005892, allocations: 137.5 kB / 0.7791 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.005907, allocations: 4.375 kB / 0.7791 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.005923, allocations: 12.31 kB / 0.7791 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006062, allocations: 107.5 kB / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.006069, allocations: 192 / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.006076, allocations: 384 / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006083, allocations: 3.938 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.006114, allocations: 31.98 kB / 0.7792 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.006404, allocations: 206.9 kB / 0.7794 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.006474, allocations: 98.73 kB / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.006502, allocations: 29.19 kB / 0.7796 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006516, allocations: 4 kB / 0.7796 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.102e-05/0.006607, allocations: 109.2 kB / 0.7797 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.282e-06/0.006608, allocations: 0 / 0.7797 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0002214/0.00683, allocations: 237 kB / 0.7799 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.006884, allocations: 91.31 kB / 0.78 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.006966, allocations: 146.5 kB / 0.7801 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.006999, allocations: 57.69 kB / 0.7802 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.007046, allocations: 97.11 kB / 0.7803 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.007107, allocations: 103.2 kB / 0.7804 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.007183, allocations: 93.59 kB / 0.7805 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.007275, allocations: 338.8 kB / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.007332, allocations: 55.47 kB / 0.7808 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.007412, allocations: 111.2 kB / 0.7809 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.007667, allocations: 217.1 kB / 0.7811 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007669, allocations: 0 / 0.7811 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000249/0.007918, allocations: 261.5 kB / 0.7814 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.007934, allocations: 7.938 kB / 0.7814 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.007951, allocations: 4 kB / 0.7814 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007962, allocations: 3.984 kB / 0.7814 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.008141, allocations: 83.83 kB / 0.7815 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008146, allocations: 4 kB / 0.7815 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.008204, allocations: 35.67 kB / 0.7815 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.008221, allocations: 12 kB / 0.7815 GB, free: 8.223 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.0001224/0.008344, allocations: 181.9 kB / 0.7817 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.008357, allocations: 11.98 kB / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.008383, allocations: 17.56 kB / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008386, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008387, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00839, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.008656, allocations: 377.7 kB / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008658, allocations: 0 / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.008684, allocations: 7.984 kB / 0.7821 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008687, allocations: 3.938 kB / 0.7821 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.008693, allocations: 0 / 0.7821 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008694, allocations: 4 kB / 0.7821 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008695, allocations: 4 kB / 0.7821 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.00887, allocations: 312 kB / 0.7824 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.008886, allocations: 27.7 kB / 0.7824 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.008915, allocations: 31.92 kB / 0.7825 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.008959, allocations: 8 kB / 0.7825 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.008987, allocations: 7.984 kB / 0.7825 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.008992, allocations: 4 kB / 0.7825 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.009013, allocations: 24.45 kB / 0.7825 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009013, allocations: 0 / 0.7825 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001978/0.00921, allocations: 51.94 kB / 0.7826 GB, free: 7.121 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.0003547/0.009565, allocations: 221.7 kB / 0.7828 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.009773, allocations: 212.2 kB / 0.783 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.009779, allocations: 4 kB / 0.783 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.009828, allocations: 48.83 kB / 0.783 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.009979, allocations: 19.86 kB / 0.7831 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.01055, allocations: 361.9 kB / 0.7834 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.01063, allocations: 115.2 kB / 0.7835 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.0107, allocations: 63.38 kB / 0.7836 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.0107, allocations: 0 / 0.7836 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.003164/0.01386, allocations: 2.611 MB / 0.7861 GB, free: 3.418 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 > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.756696622818708]