Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001444/0.001444, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001444/0.001444, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9044/0.9044, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 69.23 kB / 0.5048 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 80.92 MB / 0.5838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00248/0.1553, allocations: 1.463 MB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.1597, allocations: 3.223 MB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1598, allocations: 0 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.1599, allocations: 11.92 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1601, allocations: 31.84 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1618, allocations: 0.7603 MB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1619, allocations: 107.7 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.162, allocations: 11.94 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.162, allocations: 31.91 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1623, allocations: 228.9 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.1623, allocations: 12 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.1641, allocations: 1.392 MB / 0.5909 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.1647, allocations: 0.6835 MB / 0.5916 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.1651, allocations: 441 kB / 0.592 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.1668, allocations: 1.78 MB / 0.5938 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1668, allocations: 4 kB / 0.5938 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1668, allocations: 0 / 0.5938 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.1668, allocations: 0 / 0.5938 GB, free: 10.65 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.007749/0.1746, allocations: 1.694 MB / 0.5954 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1746, allocations: 8.031 kB / 0.5954 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1747, allocations: 34.73 kB / 0.5955 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.1751, allocations: 142.9 kB / 0.5956 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.1755, allocations: 0.5251 MB / 0.5961 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1756, allocations: 4.375 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1756, allocations: 7.938 kB / 0.5961 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.176, allocations: 387.1 kB / 0.5965 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.176, allocations: 0 / 0.5965 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.176, allocations: 7.984 kB / 0.5965 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1761, allocations: 7.938 kB / 0.5965 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.1765, allocations: 431.8 kB / 0.5969 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.1771, allocations: 0.8073 MB / 0.5977 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.1776, allocations: 0.5671 MB / 0.5983 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1779, allocations: 341.7 kB / 0.5986 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/0.1788, allocations: 1.021 MB / 0.5996 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.1791, allocations: 408.8 kB / 0.6 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1791, allocations: 0 / 0.6 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001233/0.1804, allocations: 1.343 MB / 0.6013 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.1804, allocations: 81.09 kB / 0.6014 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.182, allocations: 1.843 MB / 0.6032 GB, free: 488 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.1821, allocations: 37.83 kB / 0.6032 GB, free: 444 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2178/0.3999, allocations: 470.4 kB / 0.6037 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.3999, allocations: 21.45 kB / 0.6037 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.4003, allocations: 351.5 kB / 0.604 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.4003, allocations: 308.6 kB / 0.6043 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.4013, allocations: 1.51 MB / 0.6058 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.4023, allocations: 1.641 MB / 0.6074 GB, free: 51.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.4082, allocations: 3.689 MB / 0.611 GB, free: 49.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4083, allocations: 4.969 kB / 0.611 GB, free: 49.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003209/0.4115, allocations: 4.318 MB / 0.6152 GB, free: 47.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4115, allocations: 5.719 kB / 0.6152 GB, free: 47.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4115, allocations: 3.656 kB / 0.6152 GB, free: 47.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4115, allocations: 0.5625 kB / 0.6152 GB, free: 47.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4117, allocations: 21.58 kB / 0.6152 GB, free: 47.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4117, allocations: 2.688 kB / 0.6152 GB, free: 47.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.4122, allocations: 228.6 kB / 0.6155 GB, free: 47.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.4122, allocations: 25.42 kB / 0.6155 GB, free: 47.52 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.0003524/0.4126, allocations: 373.9 kB / 0.6158 GB, free: 47.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.4127, allocations: 120.2 kB / 0.616 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.413, allocations: 143.3 kB / 0.6161 GB, free: 47.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.413, allocations: 0.8438 kB / 0.6161 GB, free: 47.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.413, allocations: 6.469 kB / 0.6161 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.413, allocations: 0 / 0.6161 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.4134, allocations: 0.6861 MB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4134, allocations: 1.641 kB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.4135, allocations: 4.969 kB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4135, allocations: 2.781 kB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4135, allocations: 4.594 kB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4135, allocations: 6.719 kB / 0.6168 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4135, allocations: 3.938 kB / 0.6168 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.4142, allocations: 1.053 MB / 0.6178 GB, free: 46.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4143, allocations: 196.6 kB / 0.618 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.4144, allocations: 4 kB / 0.618 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4146, allocations: 9.688 kB / 0.618 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.4146, allocations: 10.22 kB / 0.618 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4147, allocations: 12.72 kB / 0.618 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008533/0.4155, allocations: 1.112 MB / 0.6191 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4155, allocations: 1.406 kB / 0.6191 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009565/0.4165, allocations: 438.5 kB / 0.6195 GB, free: 46.19 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.001839/0.4183, allocations: 1.972 MB / 0.6215 GB, free: 45.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.42, allocations: 2.644 MB / 0.6241 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.42, allocations: 0 / 0.6241 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4203, allocations: 350.3 kB / 0.6244 GB, free: 44.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4207, allocations: 56.91 kB / 0.6244 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3075/0.7282, allocations: 36.59 MB / 0.6602 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.7286, allocations: 1.152 MB / 0.6613 GB, free: 27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.7288, allocations: 41.02 kB / 0.6613 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.7291, allocations: 433.3 kB / 0.6618 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.7291, allocations: 0 / 0.6618 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/0.7975, allocations: 59.33 MB / 0.7197 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/0.7978, allocations: 279 kB / 0.72 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.198, allocations: 0 / 0.72 GB, free: 6.379 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)