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_1borehole_5meters.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001513/0.001513, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8219/0.8219, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 0.5061 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 80.92 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002357/0.3892, allocations: 1.399 MB / 0.5865 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.3929, allocations: 3.009 MB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.393, allocations: 5.375 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3932, allocations: 9.266 kB / 0.5894 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3934, allocations: 30.64 kB / 0.5895 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3961, allocations: 0.9992 MB / 0.5904 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3963, allocations: 75.77 kB / 0.5905 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3963, allocations: 4.656 kB / 0.5905 GB, free: 21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.3964, allocations: 47.83 kB / 0.5906 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3966, allocations: 141.4 kB / 0.5907 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.3966, allocations: 19.94 kB / 0.5907 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.3986, allocations: 1.37 MB / 0.592 GB, free: 19.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3988, allocations: 267.8 kB / 0.5923 GB, free: 19.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.399, allocations: 276.1 kB / 0.5926 GB, free: 18.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.4006, allocations: 1.469 MB / 0.594 GB, free: 17.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4006, allocations: 0 / 0.594 GB, free: 17.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4006, allocations: 0 / 0.594 GB, free: 17.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4007, allocations: 3.938 kB / 0.594 GB, free: 17.42 MB / 446.1 MB 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.009329/0.41, allocations: 1.208 MB / 0.5952 GB, free: 16.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4101, allocations: 8.531 kB / 0.5952 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.4104, allocations: 89.36 kB / 0.5953 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.4107, allocations: 360.9 kB / 0.5956 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4107, allocations: 4.906 kB / 0.5956 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.4108, allocations: 12.75 kB / 0.5956 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.4111, allocations: 385.6 kB / 0.596 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4111, allocations: 0 / 0.596 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4112, allocations: 7.984 kB / 0.596 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4112, allocations: 3.938 kB / 0.596 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.4115, allocations: 432.7 kB / 0.5964 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.4119, allocations: 0.6301 MB / 0.597 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4122, allocations: 0.5687 MB / 0.5976 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.4125, allocations: 340.3 kB / 0.5979 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.4132, allocations: 1.028 MB / 0.5989 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.4135, allocations: 400 kB / 0.5993 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.4136, allocations: 3.938 kB / 0.5993 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009449/0.4145, allocations: 1.286 MB / 0.6006 GB, free: 10.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4146, allocations: 90.66 kB / 0.6007 GB, free: 10.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.4154, allocations: 1.198 MB / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.4154, allocations: 33.7 kB / 0.6019 GB, free: 8.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4155, allocations: 262.8 kB / 0.6021 GB, free: 8.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4155, allocations: 15.72 kB / 0.6021 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.4158, allocations: 353.1 kB / 0.6025 GB, free: 8.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.4158, allocations: 314 kB / 0.6028 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.4166, allocations: 1.357 MB / 0.6041 GB, free: 6.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.4174, allocations: 1.491 MB / 0.6055 GB, free: 5.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00576/0.4232, allocations: 3.54 MB / 0.609 GB, free: 1.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4232, allocations: 0 / 0.609 GB, free: 1.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004048/0.4273, allocations: 3.974 MB / 0.6129 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4274, allocations: 6.031 kB / 0.6129 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.4274, allocations: 4 kB / 0.6129 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4274, allocations: 0 / 0.6129 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4276, allocations: 23.92 kB / 0.6129 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4276, allocations: 3.938 kB / 0.6129 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.4281, allocations: 233 kB / 0.6131 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.4282, allocations: 25.11 kB / 0.6132 GB, free: 13.2 MB / 462.1 MB 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.0003379/0.4285, allocations: 242.6 kB / 0.6134 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.4286, allocations: 62.78 kB / 0.6135 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.4289, allocations: 76.41 kB / 0.6135 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4289, allocations: 3.984 kB / 0.6135 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4289, allocations: 1.594 kB / 0.6135 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4289, allocations: 0 / 0.6135 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.4294, allocations: 496.7 kB / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4294, allocations: 7.984 kB / 0.614 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.4295, allocations: 5.25 kB / 0.614 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4295, allocations: 0 / 0.614 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4296, allocations: 11.98 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4296, allocations: 1.406 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4296, allocations: 0 / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.4306, allocations: 1.004 MB / 0.615 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.4307, allocations: 151.9 kB / 0.6152 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.4308, allocations: 4 kB / 0.6152 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4309, allocations: 0 / 0.6152 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.431, allocations: 12.61 kB / 0.6152 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.431, allocations: 12.98 kB / 0.6152 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007714/0.4318, allocations: 0.6609 MB / 0.6158 GB, free: 10.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4318, allocations: 1.406 kB / 0.6158 GB, free: 10.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001134/0.433, allocations: 403.8 kB / 0.6162 GB, free: 9.969 MB / 462.1 MB 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.001229/0.4342, allocations: 473.2 kB / 0.6167 GB, free: 9.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.4368, allocations: 2.507 MB / 0.6191 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4368, allocations: 0.7812 kB / 0.6191 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.4372, allocations: 340.2 kB / 0.6194 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4376, allocations: 42.17 kB / 0.6195 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4399, allocations: 1.793 MB / 0.6212 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.4405, allocations: 0.9685 MB / 0.6222 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4406, allocations: 23.42 kB / 0.6222 GB, free: 3.789 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4406, allocations: 0 / 0.6222 GB, free: 3.789 MB / 462.1 MB Notification: Performance of Templates: time 0.01792/0.4586, allocations: 10.54 MB / 0.6325 GB, free: 9.254 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)