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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004599/0.004599, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001102/0.001102, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6992/0.6992, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.91 kB / 0.5814 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3706, allocations: 80.2 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001942/0.3725, allocations: 1.399 MB / 0.6611 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.376, allocations: 3.03 MB / 0.6641 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.3761, allocations: 0 / 0.6641 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.09e-05/0.3762, allocations: 13.22 kB / 0.6641 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.3764, allocations: 31.52 kB / 0.6641 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.3785, allocations: 0.9951 MB / 0.6651 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3787, allocations: 76.58 kB / 0.6651 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.3787, allocations: 7.859 kB / 0.6652 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.3788, allocations: 39.16 kB / 0.6652 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.379, allocations: 165.8 kB / 0.6654 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.379, allocations: 12 kB / 0.6654 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.3808, allocations: 1.373 MB / 0.6667 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.3814, allocations: 0.6886 MB / 0.6674 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.3817, allocations: 448 kB / 0.6678 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.3836, allocations: 1.793 MB / 0.6696 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3836, allocations: 0 / 0.6696 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3836, allocations: 0 / 0.6696 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.3836, allocations: 1.062 kB / 0.6696 GB, free: 3.977 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.009872/0.3935, allocations: 1.755 MB / 0.6713 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3936, allocations: 10 kB / 0.6713 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.3939, allocations: 149.2 kB / 0.6714 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.3944, allocations: 0.5321 MB / 0.6719 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3944, allocations: 2.562 kB / 0.6719 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.3945, allocations: 17.2 kB / 0.672 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.3949, allocations: 382 kB / 0.6723 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3949, allocations: 1.062 kB / 0.6723 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3949, allocations: 0 / 0.6723 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3949, allocations: 9.125 kB / 0.6723 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.3953, allocations: 439.1 kB / 0.6728 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.396, allocations: 0.8064 MB / 0.6735 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.3965, allocations: 0.5649 MB / 0.6741 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.3967, allocations: 341.5 kB / 0.6744 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.3975, allocations: 1.028 MB / 0.6754 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.3979, allocations: 407.8 kB / 0.6758 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3979, allocations: 0 / 0.6758 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001393/0.3993, allocations: 1.347 MB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3994, allocations: 84.34 kB / 0.6772 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.4013, allocations: 1.846 MB / 0.679 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.4014, allocations: 30.98 kB / 0.679 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.4017, allocations: 480.5 kB / 0.6795 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4018, allocations: 27.25 kB / 0.6795 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/0.4021, allocations: 348 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.4022, allocations: 306.4 kB / 0.6801 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.4035, allocations: 1.511 MB / 0.6816 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.4048, allocations: 1.645 MB / 0.6832 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00678/0.4116, allocations: 3.693 MB / 0.6868 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4116, allocations: 3.938 kB / 0.6868 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004145/0.4158, allocations: 4.332 MB / 0.6911 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4158, allocations: 4 kB / 0.6911 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4159, allocations: 0 / 0.6911 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4159, allocations: 4 kB / 0.6911 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.416, allocations: 19.98 kB / 0.6911 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.416, allocations: 0 / 0.6911 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.4168, allocations: 237.3 kB / 0.6913 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.4168, allocations: 23.98 kB / 0.6913 GB, free: 5.16 MB / 0.5137 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.0005224/0.4173, allocations: 374.1 kB / 0.6917 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4174, allocations: 130.9 kB / 0.6918 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.4177, allocations: 141.1 kB / 0.692 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4178, allocations: 3.984 kB / 0.692 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4178, allocations: 4 kB / 0.692 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4178, allocations: 7.922 kB / 0.692 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.4184, allocations: 0.6871 MB / 0.6926 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4184, allocations: 8.031 kB / 0.6927 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.4185, allocations: 4 kB / 0.6927 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4185, allocations: 0 / 0.6927 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4185, allocations: 7.984 kB / 0.6927 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4185, allocations: 0 / 0.6927 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4185, allocations: 0 / 0.6927 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.4194, allocations: 1.068 MB / 0.6937 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.4196, allocations: 204 kB / 0.6939 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.4196, allocations: 4 kB / 0.6939 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4198, allocations: 4 kB / 0.6939 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.4199, allocations: 11.92 kB / 0.6939 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.4199, allocations: 7.984 kB / 0.6939 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001163/0.4211, allocations: 1.112 MB / 0.695 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4211, allocations: 4 kB / 0.695 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001299/0.4224, allocations: 435 kB / 0.6954 GB, free: 0.8242 MB / 0.5137 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.001075/0.4235, allocations: 485.2 kB / 0.6959 GB, free: 348 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.4257, allocations: 2.652 MB / 0.6985 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4257, allocations: 0 / 0.6985 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.426, allocations: 335.8 kB / 0.6988 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4265, allocations: 54.47 kB / 0.6989 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.4292, allocations: 2.612 MB / 0.7014 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.4298, allocations: 1.153 MB / 0.7025 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.43, allocations: 32.55 kB / 0.7026 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.222e-05/0.4301, allocations: 27.36 kB / 0.7026 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.4301, allocations: 0 / 0.7026 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.01628/0.4464, allocations: 10.11 MB / 0.7125 GB, free: 15.33 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)