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.001338/0.001338, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001364/0.001364, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8242/0.8242, allocations: 135.1 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.89 kB / 0.5055 GB, free: 8.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4122, allocations: 80.91 MB / 0.5846 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002927/0.4151, allocations: 1.787 MB / 0.5863 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004917/0.4201, allocations: 4.199 MB / 0.5904 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.4202, allocations: 6.281 kB / 0.5904 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4214, allocations: 358 kB / 0.5907 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.4215, allocations: 46.86 kB / 0.5908 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.4236, allocations: 0.8949 MB / 0.5917 GB, free: 19.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.4238, allocations: 148.9 kB / 0.5918 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.4239, allocations: 9.562 kB / 0.5918 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.582e-05/0.4239, allocations: 56.62 kB / 0.5919 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4241, allocations: 168.8 kB / 0.592 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.4242, allocations: 16.62 kB / 0.592 GB, free: 19.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4256, allocations: 1.414 MB / 0.5934 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.4257, allocations: 275.8 kB / 0.5937 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.4259, allocations: 302.1 kB / 0.594 GB, free: 17.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.4268, allocations: 1.06 MB / 0.595 GB, free: 16.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4268, allocations: 0.625 kB / 0.595 GB, free: 16.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4268, allocations: 0 / 0.595 GB, free: 16.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4269, allocations: 1.531 kB / 0.595 GB, free: 16.01 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.008259/0.4351, allocations: 1.277 MB / 0.5963 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4352, allocations: 10.52 kB / 0.5963 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.4355, allocations: 93.16 kB / 0.5964 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.4359, allocations: 402 kB / 0.5967 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4359, allocations: 8.375 kB / 0.5968 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.436, allocations: 8.125 kB / 0.5968 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.4363, allocations: 388.9 kB / 0.5971 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4363, allocations: 0 / 0.5971 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4363, allocations: 1.562 kB / 0.5971 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4363, allocations: 0 / 0.5971 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.4367, allocations: 440.7 kB / 0.5976 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4371, allocations: 0.6684 MB / 0.5982 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4375, allocations: 0.5633 MB / 0.5988 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4377, allocations: 337.7 kB / 0.5991 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.4386, allocations: 1.035 MB / 0.6001 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.4389, allocations: 406.1 kB / 0.6005 GB, free: 10.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.4389, allocations: 0.5 kB / 0.6005 GB, free: 10.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009223/0.4398, allocations: 1.291 MB / 0.6017 GB, free: 8.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4399, allocations: 85.84 kB / 0.6018 GB, free: 8.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.4407, allocations: 1.273 MB / 0.6031 GB, free: 7.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.4408, allocations: 38.98 kB / 0.6031 GB, free: 7.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4409, allocations: 277.4 kB / 0.6034 GB, free: 7.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.441, allocations: 31.62 kB / 0.6034 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.4412, allocations: 349 kB / 0.6037 GB, free: 6.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.4413, allocations: 318 kB / 0.604 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007992/0.4421, allocations: 1.366 MB / 0.6054 GB, free: 4.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.4429, allocations: 1.494 MB / 0.6068 GB, free: 3.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/0.4488, allocations: 3.536 MB / 0.6103 GB, free: 15.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4488, allocations: 4 kB / 0.6103 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004216/0.453, allocations: 3.97 MB / 0.6142 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4531, allocations: 6.812 kB / 0.6142 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.4531, allocations: 4 kB / 0.6142 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4531, allocations: 0 / 0.6142 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4533, allocations: 26.36 kB / 0.6142 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4533, allocations: 3.938 kB / 0.6142 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4538, allocations: 232.2 kB / 0.6144 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.4538, allocations: 19.98 kB / 0.6144 GB, free: 11.52 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.0003163/0.4542, allocations: 251.8 kB / 0.6147 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.4542, allocations: 70.69 kB / 0.6147 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.4545, allocations: 84.78 kB / 0.6148 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4546, allocations: 4.844 kB / 0.6148 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4546, allocations: 0 / 0.6148 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4546, allocations: 5.359 kB / 0.6148 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.455, allocations: 0.5138 MB / 0.6153 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4551, allocations: 7.984 kB / 0.6153 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.4551, allocations: 5.469 kB / 0.6153 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4551, allocations: 0 / 0.6153 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4552, allocations: 7.984 kB / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4552, allocations: 0 / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4552, allocations: 0.625 kB / 0.6154 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.4561, allocations: 1.001 MB / 0.6163 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4562, allocations: 163.7 kB / 0.6165 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.4563, allocations: 7.984 kB / 0.6165 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4564, allocations: 5.406 kB / 0.6165 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4565, allocations: 3.984 kB / 0.6165 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.4565, allocations: 12.67 kB / 0.6165 GB, free: 9.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007666/0.4573, allocations: 0.7227 MB / 0.6172 GB, free: 8.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4573, allocations: 0 / 0.6172 GB, free: 8.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001111/0.4584, allocations: 400.8 kB / 0.6176 GB, free: 8.18 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.001237/0.4597, allocations: 481.8 kB / 0.6181 GB, free: 7.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.4619, allocations: 2.5 MB / 0.6205 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4619, allocations: 0 / 0.6205 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.4623, allocations: 341.2 kB / 0.6208 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4627, allocations: 72.44 kB / 0.6209 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.4651, allocations: 2.095 MB / 0.6229 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4656, allocations: 0.9839 MB / 0.6239 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4657, allocations: 27.42 kB / 0.6239 GB, free: 1.645 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4658, allocations: 0 / 0.6239 GB, free: 1.645 MB / 462.1 MB Notification: Performance of Templates: time 0.01687/0.4826, allocations: 11.19 MB / 0.6349 GB, free: 6.469 MB / 478.1 MB 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)