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.006988/0.006987, allocations: 101.1 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.001202/0.001202, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7519/0.7519, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.86 kB / 0.5809 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1945, allocations: 80.2 MB / 0.6593 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.004052/0.1986, allocations: 1.725 MB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.2052, allocations: 4.217 MB / 0.6651 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.2054, allocations: 7.938 kB / 0.6651 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.2069, allocations: 371.3 kB / 0.6654 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.2071, allocations: 55.67 kB / 0.6655 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.2107, allocations: 0.9899 MB / 0.6664 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.2111, allocations: 147.4 kB / 0.6666 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.811e-05/0.2112, allocations: 9.562 kB / 0.6666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2113, allocations: 63.7 kB / 0.6667 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.2116, allocations: 159.5 kB / 0.6668 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.2117, allocations: 12 kB / 0.6668 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.2142, allocations: 1.377 MB / 0.6682 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2144, allocations: 275.8 kB / 0.6684 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2148, allocations: 302.1 kB / 0.6687 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.2176, allocations: 1.551 MB / 0.6702 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2176, allocations: 0 / 0.6702 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.878e-06/0.2176, allocations: 0 / 0.6702 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.2177, allocations: 7.938 kB / 0.6702 GB, free: 2.766 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.008205/0.2259, allocations: 1.273 MB / 0.6715 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2259, allocations: 8.031 kB / 0.6715 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.226, allocations: 30.75 kB / 0.6715 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.2264, allocations: 95.58 kB / 0.6716 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.2271, allocations: 417.9 kB / 0.672 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2271, allocations: 8.125 kB / 0.672 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.2271, allocations: 4 kB / 0.672 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.2276, allocations: 387.2 kB / 0.6724 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2276, allocations: 0 / 0.6724 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2277, allocations: 7.984 kB / 0.6724 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2277, allocations: 4 kB / 0.6724 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.2281, allocations: 435.7 kB / 0.6728 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.2288, allocations: 0.6575 MB / 0.6735 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.2293, allocations: 0.5632 MB / 0.674 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.2296, allocations: 345.7 kB / 0.6743 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.2306, allocations: 1.021 MB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.231, allocations: 408.9 kB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.2311, allocations: 0 / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001315/0.2324, allocations: 1.296 MB / 0.677 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.2325, allocations: 81.11 kB / 0.6771 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.2339, allocations: 1.285 MB / 0.6783 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.234, allocations: 33.77 kB / 0.6784 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2342, allocations: 285.4 kB / 0.6786 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.2343, allocations: 27.67 kB / 0.6787 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.2346, allocations: 347.5 kB / 0.679 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2347, allocations: 322 kB / 0.6793 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2359, allocations: 1.357 MB / 0.6806 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.2372, allocations: 1.501 MB / 0.6821 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/0.2441, allocations: 3.537 MB / 0.6855 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2441, allocations: 0 / 0.6855 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00422/0.2483, allocations: 3.973 MB / 0.6894 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.2483, allocations: 4.031 kB / 0.6894 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.2484, allocations: 7.984 kB / 0.6894 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.2484, allocations: 4 kB / 0.6894 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2486, allocations: 16 kB / 0.6894 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2486, allocations: 0 / 0.6894 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.249, allocations: 228.3 kB / 0.6897 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.2491, allocations: 23.98 kB / 0.6897 GB, free: 14.2 MB / 0.5294 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.0002955/0.2494, allocations: 249.5 kB / 0.6899 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.2495, allocations: 74.69 kB / 0.69 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.2497, allocations: 83.72 kB / 0.6901 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2497, allocations: 0 / 0.6901 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2497, allocations: 0 / 0.6901 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2498, allocations: 0 / 0.6901 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2502, allocations: 0.5215 MB / 0.6906 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2502, allocations: 3.938 kB / 0.6906 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.2503, allocations: 12.02 kB / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2503, allocations: 4 kB / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2503, allocations: 0 / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2503, allocations: 0 / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2503, allocations: 4 kB / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.2512, allocations: 1.005 MB / 0.6916 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2514, allocations: 163.8 kB / 0.6917 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.2514, allocations: 0 / 0.6917 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2516, allocations: 7.984 kB / 0.6918 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.2516, allocations: 7.938 kB / 0.6918 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.2517, allocations: 19.91 kB / 0.6918 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000719/0.2524, allocations: 0.7179 MB / 0.6925 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2524, allocations: 0 / 0.6925 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001038/0.2534, allocations: 399.9 kB / 0.6929 GB, free: 10.84 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.002281/0.2557, allocations: 1.928 MB / 0.6947 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.2581, allocations: 2.498 MB / 0.6972 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2581, allocations: 3.938 kB / 0.6972 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.2584, allocations: 355.8 kB / 0.6975 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2588, allocations: 46.91 kB / 0.6976 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.2735, allocations: 14.99 MB / 0.7122 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.274, allocations: 0.9879 MB / 0.7132 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.2742, allocations: 37.44 kB / 0.7132 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.2745, allocations: 283.3 kB / 0.7135 GB, free: 5.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.2745, allocations: 0 / 0.7135 GB, free: 5.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.3247, allocations: 19.85 MB / 0.7329 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.621/9.946, allocations: 14.36 kB / 0.7329 GB, free: 1.871 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)