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.001029/0.001028, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001241/0.001241, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9328/0.9328, allocations: 135.3 MB / 426.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 8 kB / 0.5071 GB, free: 4.945 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1639, allocations: 82.31 MB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001358/0.1653, allocations: 1.101 MB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.1693, allocations: 2.812 MB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1694, allocations: 0 / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1695, allocations: 11.92 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1698, allocations: 27.84 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1717, allocations: 0.753 MB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.1719, allocations: 91.72 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1719, allocations: 7.938 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.172, allocations: 39.84 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1723, allocations: 239.6 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1723, allocations: 12 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1742, allocations: 1.306 MB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.1748, allocations: 0.7093 MB / 0.5944 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.175, allocations: 177 kB / 0.5946 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1762, allocations: 1.181 MB / 0.5958 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1762, allocations: 0 / 0.5958 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1762, allocations: 0 / 0.5958 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.1762, allocations: 0 / 0.5958 GB, free: 10.31 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.007369/0.1836, allocations: 1.613 MB / 0.5973 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1836, allocations: 8.031 kB / 0.5973 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.1837, allocations: 38.56 kB / 0.5974 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.1841, allocations: 138.1 kB / 0.5975 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.1847, allocations: 0.4932 MB / 0.598 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1847, allocations: 8 kB / 0.598 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1847, allocations: 7.984 kB / 0.598 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1852, allocations: 387.2 kB / 0.5984 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1852, allocations: 0 / 0.5984 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1852, allocations: 3.984 kB / 0.5984 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1852, allocations: 0 / 0.5984 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.1857, allocations: 435.7 kB / 0.5988 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.1865, allocations: 0.8112 MB / 0.5996 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.187, allocations: 0.5594 MB / 0.6001 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1874, allocations: 337.7 kB / 0.6005 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.1884, allocations: 1.04 MB / 0.6015 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.1888, allocations: 400.9 kB / 0.6019 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1888, allocations: 0 / 0.6019 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001396/0.1902, allocations: 1.347 MB / 0.6032 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1903, allocations: 81.09 kB / 0.6032 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.1922, allocations: 1.839 MB / 0.605 GB, free: 252 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1922, allocations: 29.7 kB / 0.6051 GB, free: 216 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3037/0.496, allocations: 474.7 kB / 0.6055 GB, free: 48.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.4961, allocations: 22.95 kB / 0.6055 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.4961, allocations: 3.5 kB / 0.6056 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4962, allocations: 411.9 kB / 0.6059 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.4975, allocations: 1.515 MB / 0.6074 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4988, allocations: 1.637 MB / 0.609 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5002, allocations: 2.047 MB / 0.611 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5003, allocations: 0 / 0.611 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003642/0.5039, allocations: 4.304 MB / 0.6152 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5039, allocations: 4.25 kB / 0.6152 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.504, allocations: 3 kB / 0.6152 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.504, allocations: 1.094 kB / 0.6152 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.5041, allocations: 16.59 kB / 0.6152 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.5041, allocations: 3.75 kB / 0.6153 GB, free: 46.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.5046, allocations: 231.3 kB / 0.6155 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.5047, allocations: 30.38 kB / 0.6155 GB, free: 46.13 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.5051, allocations: 367.4 kB / 0.6159 GB, free: 46.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.5052, allocations: 121 kB / 0.616 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.5055, allocations: 146.6 kB / 0.6161 GB, free: 45.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5055, allocations: 2.406 kB / 0.6161 GB, free: 45.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5055, allocations: 2.656 kB / 0.6161 GB, free: 45.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5056, allocations: 0 / 0.6161 GB, free: 45.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.5061, allocations: 0.6794 MB / 0.6168 GB, free: 45.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5061, allocations: 6.297 kB / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.5061, allocations: 6.156 kB / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5061, allocations: 3.188 kB / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.5062, allocations: 3.938 kB / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5062, allocations: 0 / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5062, allocations: 0 / 0.6168 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.5069, allocations: 1.063 MB / 0.6178 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.507, allocations: 202.9 kB / 0.618 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.5071, allocations: 0 / 0.618 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.5073, allocations: 13.66 kB / 0.618 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.5074, allocations: 6.5 kB / 0.618 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.5074, allocations: 13.98 kB / 0.6181 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009653/0.5084, allocations: 1.1 MB / 0.6191 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5084, allocations: 2.688 kB / 0.6191 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009752/0.5094, allocations: 424.5 kB / 0.6195 GB, free: 44.8 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 (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.001898/0.5113, allocations: 1.982 MB / 0.6215 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.5131, allocations: 2.652 MB / 0.6241 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5132, allocations: 0 / 0.6241 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.5135, allocations: 341.1 kB / 0.6244 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.5138, allocations: 48.52 kB / 0.6244 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1145/0.6283, allocations: 30.56 MB / 0.6543 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.6289, allocations: 1.151 MB / 0.6554 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.6291, allocations: 35.16 kB / 0.6554 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.6295, allocations: 432.2 kB / 0.6558 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.242e-06/0.6295, allocations: 0 / 0.6558 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08063/0.7101, allocations: 58.71 MB / 0.7132 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.7104, allocations: 259 kB / 0.7134 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.201, allocations: 0 / 0.7134 GB, free: 13.05 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/linux/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) Environment - environmentSimulation: