Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.007794/0.0078, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001727/0.001727, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7392/0.7392, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.5809 GB, free: 7.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 80.2 MB / 0.6593 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00246/0.4227, allocations: 1.729 MB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00479/0.4275, allocations: 4.218 MB / 0.6651 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.4276, allocations: 1.281 kB / 0.6651 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.4286, allocations: 358.1 kB / 0.6654 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.4287, allocations: 65.66 kB / 0.6655 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.4306, allocations: 0.9824 MB / 0.6664 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.4308, allocations: 149.6 kB / 0.6666 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.4308, allocations: 21.34 kB / 0.6666 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.4309, allocations: 53.62 kB / 0.6666 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4311, allocations: 163.5 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.4311, allocations: 14 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.4327, allocations: 1.378 MB / 0.6682 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4329, allocations: 275.7 kB / 0.6684 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.4331, allocations: 302.2 kB / 0.6687 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4345, allocations: 1.546 MB / 0.6702 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4345, allocations: 4 kB / 0.6702 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4345, allocations: 0 / 0.6702 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4345, allocations: 5.281 kB / 0.6702 GB, free: 2.539 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.007449/0.442, allocations: 1.274 MB / 0.6715 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.442, allocations: 8.812 kB / 0.6715 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.4421, allocations: 36.78 kB / 0.6715 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.4424, allocations: 95.31 kB / 0.6716 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.4429, allocations: 406.9 kB / 0.672 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4429, allocations: 6.375 kB / 0.672 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.4429, allocations: 8.469 kB / 0.672 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.4434, allocations: 386.4 kB / 0.6724 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4434, allocations: 5.062 kB / 0.6724 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4434, allocations: 3.938 kB / 0.6724 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4434, allocations: 5.188 kB / 0.6724 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.4438, allocations: 434.9 kB / 0.6728 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.4443, allocations: 0.6625 MB / 0.6734 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.4448, allocations: 0.5693 MB / 0.674 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.4452, allocations: 336.6 kB / 0.6743 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009713/0.4461, allocations: 1.032 MB / 0.6753 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.4466, allocations: 402.9 kB / 0.6757 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4466, allocations: 0 / 0.6757 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.00154/0.4481, allocations: 1.291 MB / 0.677 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4482, allocations: 88.62 kB / 0.6771 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.4495, allocations: 1.284 MB / 0.6783 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.4496, allocations: 32.44 kB / 0.6783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4498, allocations: 283.8 kB / 0.6786 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4499, allocations: 19.88 kB / 0.6786 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.4502, allocations: 348.4 kB / 0.679 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4503, allocations: 317.6 kB / 0.6793 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4516, allocations: 1.359 MB / 0.6806 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.453, allocations: 1.497 MB / 0.6821 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00684/0.4598, allocations: 3.542 MB / 0.6855 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4599, allocations: 0 / 0.6855 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004102/0.464, allocations: 3.973 MB / 0.6894 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.464, allocations: 4 kB / 0.6894 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.464, allocations: 320 / 0.6894 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.464, allocations: 4 kB / 0.6894 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4642, allocations: 19.92 kB / 0.6894 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4642, allocations: 0 / 0.6894 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.4647, allocations: 236.2 kB / 0.6896 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.4648, allocations: 27.97 kB / 0.6897 GB, free: 6.398 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.0003249/0.4651, allocations: 257.6 kB / 0.6899 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.4652, allocations: 70.69 kB / 0.69 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4655, allocations: 83.66 kB / 0.6901 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4655, allocations: 0 / 0.6901 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4655, allocations: 0 / 0.6901 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4655, allocations: 4 kB / 0.6901 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.466, allocations: 0.5137 MB / 0.6906 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.466, allocations: 4.031 kB / 0.6906 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.466, allocations: 8 kB / 0.6906 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4661, allocations: 0 / 0.6906 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4661, allocations: 3.984 kB / 0.6906 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4661, allocations: 4 kB / 0.6906 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4661, allocations: 7.875 kB / 0.6906 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.4669, allocations: 1.009 MB / 0.6916 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4671, allocations: 159.8 kB / 0.6917 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.4671, allocations: 0 / 0.6917 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4673, allocations: 4 kB / 0.6917 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4673, allocations: 11.98 kB / 0.6918 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.4674, allocations: 11.98 kB / 0.6918 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007215/0.4681, allocations: 0.7179 MB / 0.6925 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4681, allocations: 4 kB / 0.6925 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00115/0.4693, allocations: 407.8 kB / 0.6929 GB, free: 3.027 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.002067/0.4713, allocations: 1.926 MB / 0.6947 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.4735, allocations: 2.503 MB / 0.6972 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4735, allocations: 0 / 0.6972 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.4738, allocations: 335.8 kB / 0.6975 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.4742, allocations: 52.08 kB / 0.6976 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.4877, allocations: 15 MB / 0.7122 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.4882, allocations: 0.984 MB / 0.7132 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.4884, allocations: 41.41 kB / 0.7132 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.4888, allocations: 287.3 kB / 0.7135 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.4888, allocations: 0 / 0.7135 GB, free: 13.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.5331, allocations: 20.08 MB / 0.7331 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.38, allocations: 16.95 kB / 0.7331 GB, free: 9.82 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)