Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 191.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7205/0.7205, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 63.72 kB / 0.5014 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1732, allocations: 80.2 MB / 0.5797 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002707/0.1759, allocations: 1.464 MB / 0.5811 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.1804, allocations: 3.044 MB / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.1805, allocations: 0 / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1806, allocations: 3.938 kB / 0.5841 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1808, allocations: 31.83 kB / 0.5842 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.1833, allocations: 0.8843 MB / 0.585 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1834, allocations: 91.67 kB / 0.5851 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1834, allocations: 0 / 0.5851 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1835, allocations: 35.86 kB / 0.5851 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1838, allocations: 224.9 kB / 0.5854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.1839, allocations: 15.94 kB / 0.5854 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.1858, allocations: 1.412 MB / 0.5867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.1864, allocations: 0.6874 MB / 0.5874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.1867, allocations: 441 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.1889, allocations: 1.78 MB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1889, allocations: 7.938 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1889, allocations: 4 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.1889, allocations: 0 / 0.5896 GB, free: 14.84 MB / 0.4981 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.009281/0.1982, allocations: 1.69 MB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1983, allocations: 12.03 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1983, allocations: 30.75 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1987, allocations: 142.9 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1992, allocations: 0.529 MB / 0.5919 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.1992, allocations: 4.375 kB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.1993, allocations: 11.94 kB / 0.592 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.1997, allocations: 391.1 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1997, allocations: 0 / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1997, allocations: 0 / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1997, allocations: 0 / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.2001, allocations: 439.7 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.2008, allocations: 0.8035 MB / 0.5935 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.2013, allocations: 0.5633 MB / 0.5941 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.2016, allocations: 341.6 kB / 0.5944 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/0.2025, allocations: 1.025 MB / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.2029, allocations: 408.8 kB / 0.5958 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2029, allocations: 4 kB / 0.5958 GB, free: 8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001222/0.2042, allocations: 1.339 MB / 0.5971 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.2042, allocations: 81.11 kB / 0.5972 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2058, allocations: 1.846 MB / 0.599 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2058, allocations: 29.83 kB / 0.599 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.2061, allocations: 477.3 kB / 0.5995 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2062, allocations: 31.66 kB / 0.5995 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.2065, allocations: 347.5 kB / 0.5998 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.2066, allocations: 305.1 kB / 0.6001 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2078, allocations: 1.514 MB / 0.6016 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.209, allocations: 1.642 MB / 0.6032 GB, free: 316 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2731/0.4821, allocations: 3.687 MB / 0.6068 GB, free: 54.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.4821, allocations: 9.938 kB / 0.6068 GB, free: 54.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003569/0.4857, allocations: 4.316 MB / 0.611 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4858, allocations: 6.875 kB / 0.611 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.4858, allocations: 0 / 0.611 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4858, allocations: 4.375 kB / 0.611 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4859, allocations: 16.22 kB / 0.6111 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.486, allocations: 3.969 kB / 0.6111 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.4865, allocations: 229.5 kB / 0.6113 GB, free: 52.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.4865, allocations: 24.8 kB / 0.6113 GB, free: 52.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0004263/0.487, allocations: 369.6 kB / 0.6117 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.487, allocations: 123 kB / 0.6118 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.4874, allocations: 147.2 kB / 0.6119 GB, free: 52.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4874, allocations: 1.031 kB / 0.6119 GB, free: 52.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4874, allocations: 0 / 0.6119 GB, free: 52.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4874, allocations: 6.672 kB / 0.6119 GB, free: 52.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.4879, allocations: 0.675 MB / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4879, allocations: 4.875 kB / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.4879, allocations: 6.625 kB / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4879, allocations: 6.312 kB / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.488, allocations: 0 / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.488, allocations: 3.25 kB / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.488, allocations: 0 / 0.6126 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.4887, allocations: 1.063 MB / 0.6136 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4889, allocations: 197.5 kB / 0.6138 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.489, allocations: 6.281 kB / 0.6138 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4891, allocations: 2.875 kB / 0.6138 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.4892, allocations: 6.844 kB / 0.6138 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.4892, allocations: 12.81 kB / 0.6139 GB, free: 51.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009491/0.4902, allocations: 1.113 MB / 0.6149 GB, free: 51.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4902, allocations: 3.938 kB / 0.6149 GB, free: 51.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001068/0.4913, allocations: 432.6 kB / 0.6154 GB, free: 51.08 MB / 0.4981 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) * Number of clocked states: 0 () * 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 (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.002092/0.4934, allocations: 1.982 MB / 0.6173 GB, free: 50.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.4956, allocations: 2.651 MB / 0.6199 GB, free: 49.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4956, allocations: 0 / 0.6199 GB, free: 49.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.4959, allocations: 340.2 kB / 0.6202 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.4963, allocations: 52.44 kB / 0.6203 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3484/0.8447, allocations: 36.61 MB / 0.656 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.8452, allocations: 1.148 MB / 0.6571 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.8455, allocations: 36.77 kB / 0.6572 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.8458, allocations: 427.9 kB / 0.6576 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.8458, allocations: 7.281 kB / 0.6576 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.9139, allocations: 59.61 MB / 0.7158 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.9142, allocations: 279.5 kB / 0.7161 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.41, allocations: 4 kB / 0.7161 GB, free: 13.1 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)