Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001522/0.001522, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.002247/0.002247, allocations: 166.3 kB / 25.18 MB, free: 8.328 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.9105/0.9105, allocations: 177.2 MB / 205.6 MB, free: 4.367 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.941/1.941, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 3.984 kB / 0.7755 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.607e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003939/0.003975, allocations: 1.575 MB / 0.7771 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.005467, allocations: 0.7515 MB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.005561, allocations: 0 / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.005679, allocations: 7.922 kB / 0.7778 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.005727, allocations: 15.86 kB / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.006347, allocations: 123.4 kB / 0.7779 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.006498, allocations: 91.69 kB / 0.778 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.006578, allocations: 4 kB / 0.778 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.006744, allocations: 59.88 kB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.006809, allocations: 35.88 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.00683, allocations: 8 kB / 0.7781 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.007135, allocations: 135.7 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.007189, allocations: 35.86 kB / 0.7783 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.007234, allocations: 27.91 kB / 0.7783 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.007485, allocations: 167.4 kB / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007488, allocations: 0 / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007489, allocations: 0 / 0.7785 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.007494, 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.000549/0.008043, allocations: 398.6 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.008078, allocations: 12.03 kB / 0.7789 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.008365, allocations: 36.89 kB / 0.7789 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.00859, allocations: 141.4 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.008606, allocations: 384 / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.008621, allocations: 4.375 kB / 0.7791 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.008787, allocations: 115.5 kB / 0.7792 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008796, allocations: 8.125 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.008805, allocations: 4.375 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.008812, allocations: 3.938 kB / 0.7792 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.008855, allocations: 28 kB / 0.7792 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.009197, allocations: 202.9 kB / 0.7794 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.009286, allocations: 98.8 kB / 0.7795 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.009324, allocations: 37.11 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.009341, allocations: 4 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.009462, allocations: 109.2 kB / 0.7796 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.009464, allocations: 4 kB / 0.7796 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0002915/0.009755, allocations: 229.1 kB / 0.7799 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.009824, allocations: 87.33 kB / 0.7799 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.009919, allocations: 150.5 kB / 0.7801 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.009963, allocations: 49.69 kB / 0.7801 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.01001, allocations: 97.11 kB / 0.7802 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.01008, allocations: 103.2 kB / 0.7803 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01019, allocations: 89.61 kB / 0.7804 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.01036, allocations: 338.8 kB / 0.7807 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.01044, allocations: 59.41 kB / 0.7808 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.01055, allocations: 107.2 kB / 0.7809 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.01078, allocations: 225.1 kB / 0.7811 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01078, allocations: 0 / 0.7811 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003233/0.01111, allocations: 261.5 kB / 0.7814 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01112, allocations: 7.938 kB / 0.7814 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.01114, allocations: 4 kB / 0.7814 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01115, allocations: 0 / 0.7814 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.01138, allocations: 83.83 kB / 0.7814 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01138, allocations: 8.094 kB / 0.7815 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.01146, allocations: 35.67 kB / 0.7815 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.01148, allocations: 8 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 (hea.occ,hea.ran,$PRE.hea.ran,hea.state[33],$PRE.hea.state[33],hea.state[32],$PRE.hea.state[32],hea.state[31],$PRE.hea.state[31],hea.state[30],$PRE.hea.state[30],hea.state[29],$PRE.hea.state[29],hea.state[28],$PRE.hea.state[28],hea.state[27],$PRE.hea.state[27],hea.state[26],$PRE.hea.state[26],hea.state[25],$PRE.hea.state[25],hea.state[24],$PRE.hea.state[24],hea.state[23],$PRE.hea.state[23],hea.state[22],$PRE.hea.state[22],hea.state[21],$PRE.hea.state[21],hea.state[20],$PRE.hea.state[20],hea.state[19],$PRE.hea.state[19],hea.state[18],$PRE.hea.state[18],hea.state[17],$PRE.hea.state[17],hea.state[16],$PRE.hea.state[16],hea.state[15],$PRE.hea.state[15],hea.state[14],$PRE.hea.state[14],hea.state[13],$PRE.hea.state[13],hea.state[12],$PRE.hea.state[12],hea.state[11],$PRE.hea.state[11],hea.state[10],$PRE.hea.state[10],hea.state[9],$PRE.hea.state[9],hea.state[8],$PRE.hea.state[8],hea.state[7],$PRE.hea.state[7],hea.state[6],$PRE.hea.state[6],hea.state[5],$PRE.hea.state[5],hea.state[4],$PRE.hea.state[4],hea.state[3],$PRE.hea.state[3],hea.state[2],$PRE.hea.state[2],hea.state[1],$PRE.hea.state[1],hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.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.0001471/0.01162, allocations: 185.8 kB / 0.7817 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.01164, allocations: 7.984 kB / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.01167, allocations: 17.56 kB / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01167, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01167, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01168, allocations: 0 / 0.7817 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.01203, allocations: 377.8 kB / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01203, allocations: 0 / 0.7821 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.01206, allocations: 15.92 kB / 0.7821 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01207, allocations: 3.938 kB / 0.7821 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.01207, allocations: 0 / 0.7821 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01208, allocations: 4 kB / 0.7821 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01208, allocations: 0 / 0.7821 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.0123, allocations: 308.1 kB / 0.7824 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01232, allocations: 23.72 kB / 0.7824 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.01236, allocations: 27.98 kB / 0.7824 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.01242, allocations: 7.984 kB / 0.7824 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.01246, allocations: 8 kB / 0.7824 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.01247, allocations: 11.97 kB / 0.7824 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.0125, allocations: 28.83 kB / 0.7825 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0125, allocations: 0 / 0.7825 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002987/0.0128, allocations: 51.94 kB / 0.7825 GB, free: 7.113 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.state[1],hea.state[2],hea.state[3],hea.state[4],hea.state[5],hea.state[6],hea.state[7],hea.state[8],hea.state[9],hea.state[10],hea.state[11],hea.state[12],hea.state[13],hea.state[14],hea.state[15],hea.state[16],hea.state[17],hea.state[18],hea.state[19],hea.state[20],hea.state[21],hea.state[22],hea.state[23],hea.state[24],hea.state[25],hea.state[26],hea.state[27],hea.state[28],hea.state[29],hea.state[30],hea.state[31],hea.state[32],hea.state[33],hea.ran) * Number of discrete states: 33 (hea.state[1],hea.state[2],hea.state[3],hea.state[4],hea.state[5],hea.state[6],hea.state[7],hea.state[8],hea.state[9],hea.state[10],hea.state[11],hea.state[12],hea.state[13],hea.state[14],hea.state[15],hea.state[16],hea.state[17],hea.state[18],hea.state[19],hea.state[20],hea.state[21],hea.state[22],hea.state[23],hea.state[24],hea.state[25],hea.state[26],hea.state[27],hea.state[28],hea.state[29],hea.state[30],hea.state[31],hea.state[32],hea.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.0004946/0.01329, allocations: 213.5 kB / 0.7827 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.01371, allocations: 212.2 kB / 0.7829 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.01373, allocations: 4 kB / 0.7829 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.01381, allocations: 52.94 kB / 0.783 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01401, allocations: 23.92 kB / 0.783 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.01463, allocations: 357.7 kB / 0.7834 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.907e-05/0.01471, allocations: 123.1 kB / 0.7835 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.01478, allocations: 67.38 kB / 0.7835 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01478, allocations: 0 / 0.7835 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.00299/0.01777, allocations: 2.607 MB / 0.7861 GB, free: 3.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan > Buildings_13_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.925200731493533]