Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4842/0.4842, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 113.4 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.992e-05/4.996e-05, allocations: 4 kB / 0.4898 GB, free: 5.219 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3411, allocations: 72.3 MB / 0.5604 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4778, allocations: 124.9 MB / 0.6824 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4782, allocations: 111.9 kB / 0.6825 GB, free: 11.22 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia 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.426/0.9041, allocations: 34.46 MB / 0.7161 GB, free: 128 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9042, allocations: 0 / 0.7161 GB, free: 128 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.161e-05/0.9042, allocations: 22.53 kB / 0.7161 GB, free: 128 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002546/0.9068, allocations: 1.592 MB / 0.7177 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9068, allocations: 14.55 kB / 0.7177 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.9069, allocations: 36.27 kB / 0.7177 GB, free: 127 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.9073, allocations: 172.8 kB / 0.7179 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.9086, allocations: 0.7839 MB / 0.7187 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.9086, allocations: 26.27 kB / 0.7187 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.9087, allocations: 49.17 kB / 0.7187 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.909, allocations: 388.9 kB / 0.7191 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.909, allocations: 7.672 kB / 0.7191 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.909, allocations: 0 / 0.7191 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.909, allocations: 0 / 0.7191 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.9093, allocations: 426.3 kB / 0.7195 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/0.9101, allocations: 1.198 MB / 0.7207 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.9105, allocations: 0.5548 MB / 0.7212 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.9107, allocations: 346.2 kB / 0.7216 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.9113, allocations: 1.033 MB / 0.7226 GB, free: 125 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.9116, allocations: 400.7 kB / 0.723 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.9116, allocations: 0 / 0.723 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0008084/0.9124, allocations: 1.053 MB / 0.724 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.9125, allocations: 80.8 kB / 0.7241 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.914, allocations: 1.939 MB / 0.726 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.9141, allocations: 59.31 kB / 0.726 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.9145, allocations: 0.541 MB / 0.7265 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.9145, allocations: 23.45 kB / 0.7266 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.9146, allocations: 22.64 kB / 0.7266 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9148, allocations: 442.3 kB / 0.727 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.9166, allocations: 2.078 MB / 0.729 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.9184, allocations: 2.268 MB / 0.7313 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.9206, allocations: 2.875 MB / 0.7341 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9206, allocations: 0 / 0.7341 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005543/0.9262, allocations: 6.093 MB / 0.74 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.9262, allocations: 4 kB / 0.74 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.9263, allocations: 61.7 kB / 0.7401 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9264, allocations: 4 kB / 0.7401 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.927, allocations: 152 kB / 0.7402 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.927, allocations: 4 kB / 0.7402 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.928, allocations: 322.2 kB / 0.7405 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.9281, allocations: 139.3 kB / 0.7407 GB, free: 114.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001913/0.9283, allocations: 190.2 kB / 0.7409 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.9284, allocations: 141.7 kB / 0.741 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/0.9292, allocations: 1.011 MB / 0.742 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9292, allocations: 0 / 0.742 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9292, allocations: 3.953 kB / 0.742 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9292, allocations: 0 / 0.742 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.9298, allocations: 0.7798 MB / 0.7427 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9298, allocations: 2.031 kB / 0.7427 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.9298, allocations: 7.891 kB / 0.7427 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9299, allocations: 4 kB / 0.7428 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.9299, allocations: 0.9375 kB / 0.7428 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9299, allocations: 4 kB / 0.7428 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9299, allocations: 1.938 kB / 0.7428 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.9305, allocations: 1.083 MB / 0.7438 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.9306, allocations: 230 kB / 0.744 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.9307, allocations: 4 kB / 0.744 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.9311, allocations: 11.66 kB / 0.744 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.9311, allocations: 14.61 kB / 0.7441 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.9312, allocations: 7.797 kB / 0.7441 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001083/0.9323, allocations: 1.287 MB / 0.7453 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9323, allocations: 2.344 kB / 0.7453 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00201/0.9343, allocations: 0.7439 MB / 0.7461 GB, free: 109.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002965/0.9373, allocations: 2.406 MB / 0.7484 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.9394, allocations: 3.405 MB / 0.7517 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9394, allocations: 0 / 0.7517 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.9396, allocations: 337 kB / 0.7521 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.9399, allocations: 69.22 kB / 0.7521 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.9441, allocations: 2.923 MB / 0.755 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.9446, allocations: 1.264 MB / 0.7562 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.945, allocations: 130.5 kB / 0.7563 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.9455, allocations: 0.5606 MB / 0.7569 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.833e-06/0.9455, allocations: 0 / 0.7569 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04615/0.9916, allocations: 30.26 MB / 0.7864 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.9919, allocations: 275.1 kB / 0.7867 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.924, allocations: 3.938 kB / 0.7867 GB, free: 71.44 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)