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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005911/0.005911, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.00108/0.00108, allocations: 202 kB / 16.68 MB, free: 5.965 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.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.9466/0.9466, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.91 kB / 0.5857 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4224, allocations: 80.92 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002607/0.4251, allocations: 1.735 MB / 0.6664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.4301, allocations: 4.212 MB / 0.6705 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.4302, allocations: 1.562 kB / 0.6705 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.4315, allocations: 371.2 kB / 0.6709 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.4316, allocations: 64.38 kB / 0.6709 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.4345, allocations: 0.9794 MB / 0.6719 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.4348, allocations: 155.8 kB / 0.672 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.4349, allocations: 14.03 kB / 0.672 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.4349, allocations: 45.28 kB / 0.6721 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.4352, allocations: 162.8 kB / 0.6722 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.4353, allocations: 18.53 kB / 0.6723 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.4375, allocations: 1.377 MB / 0.6736 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.4378, allocations: 275.7 kB / 0.6739 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.438, allocations: 298.4 kB / 0.6742 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.4401, allocations: 1.556 MB / 0.6757 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4401, allocations: 4 kB / 0.6757 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4401, allocations: 1.344 kB / 0.6757 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.4401, allocations: 0 / 0.6757 GB, free: 15.79 MB / 0.5137 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.01058/0.4507, allocations: 1.318 MB / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4508, allocations: 8.812 kB / 0.677 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.4512, allocations: 99.44 kB / 0.6771 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.4518, allocations: 407.6 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4518, allocations: 14.45 kB / 0.6775 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.4519, allocations: 8.312 kB / 0.6775 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.4523, allocations: 388 kB / 0.6778 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4524, allocations: 0 / 0.6778 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4524, allocations: 0 / 0.6778 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4524, allocations: 1.469 kB / 0.6779 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.4529, allocations: 438.4 kB / 0.6783 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.4536, allocations: 0.6631 MB / 0.6789 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.4542, allocations: 0.5693 MB / 0.6795 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.4546, allocations: 337.2 kB / 0.6798 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.4558, allocations: 1.027 MB / 0.6808 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.4562, allocations: 415 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4562, allocations: 0 / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001503/0.4577, allocations: 1.299 MB / 0.6825 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.4578, allocations: 80.83 kB / 0.6825 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.4592, allocations: 1.28 MB / 0.6838 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.4593, allocations: 36.08 kB / 0.6838 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.4595, allocations: 285.6 kB / 0.6841 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4596, allocations: 31.39 kB / 0.6841 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.46, allocations: 348.4 kB / 0.6845 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4601, allocations: 316.7 kB / 0.6848 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4614, allocations: 1.359 MB / 0.6861 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.4629, allocations: 1.496 MB / 0.6875 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/0.4705, allocations: 3.545 MB / 0.691 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.4705, allocations: 3.938 kB / 0.691 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004605/0.4752, allocations: 3.966 MB / 0.6949 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4752, allocations: 8.031 kB / 0.6949 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.4753, allocations: 7.984 kB / 0.6949 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.4753, allocations: 3.984 kB / 0.6949 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4754, allocations: 15.94 kB / 0.6949 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4755, allocations: 320 / 0.6949 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.4762, allocations: 249.3 kB / 0.6952 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.4763, allocations: 23.98 kB / 0.6952 GB, free: 1.777 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.0003948/0.4767, allocations: 249.6 kB / 0.6954 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.4768, allocations: 79.25 kB / 0.6955 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.4771, allocations: 83.64 kB / 0.6956 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.4771, allocations: 4 kB / 0.6956 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4771, allocations: 0 / 0.6956 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4771, allocations: 0 / 0.6956 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.4777, allocations: 0.5138 MB / 0.6961 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4777, allocations: 4 kB / 0.6961 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.4778, allocations: 12.02 kB / 0.6961 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4778, allocations: 3.938 kB / 0.6961 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4778, allocations: 8 kB / 0.6961 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4778, allocations: 0 / 0.6961 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4778, allocations: 3.938 kB / 0.6961 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.4788, allocations: 1.014 MB / 0.6971 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.479, allocations: 160.4 kB / 0.6973 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.479, allocations: 4 kB / 0.6973 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4792, allocations: 11.98 kB / 0.6973 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4793, allocations: 0 / 0.6973 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.4793, allocations: 15.97 kB / 0.6973 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008087/0.4801, allocations: 0.7179 MB / 0.698 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4801, allocations: 0 / 0.698 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00134/0.4815, allocations: 411 kB / 0.6984 GB, free: 14.39 MB / 0.5294 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.001234/0.4827, allocations: 490.5 kB / 0.6988 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.4851, allocations: 2.499 MB / 0.7013 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4851, allocations: 0 / 0.7013 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.4855, allocations: 343.7 kB / 0.7016 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4859, allocations: 57.59 kB / 0.7017 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.4883, allocations: 1.892 MB / 0.7035 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.4889, allocations: 0.984 MB / 0.7045 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.4891, allocations: 41.41 kB / 0.7045 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.4892, allocations: 35.41 kB / 0.7046 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.4892, allocations: 0 / 0.7046 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of Templates: time 0.01837/0.5076, allocations: 10.17 MB / 0.7145 GB, free: 13.88 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)