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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_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_dev_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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 193 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9476/0.9476, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.45 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1846, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002961/0.1876, allocations: 1.733 MB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.1942, allocations: 4.195 MB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1945, allocations: 3.938 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.1962, allocations: 373.9 kB / 0.5907 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1964, allocations: 59.66 kB / 0.5907 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.2005, allocations: 0.99 MB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.201, allocations: 143.4 kB / 0.5918 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.2011, allocations: 17.53 kB / 0.5918 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2013, allocations: 55.73 kB / 0.5919 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.2016, allocations: 159.5 kB / 0.592 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.2017, allocations: 20 kB / 0.5921 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.2042, allocations: 1.369 MB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.2045, allocations: 279.8 kB / 0.5937 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.2049, allocations: 306.1 kB / 0.594 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.2088, allocations: 1.527 MB / 0.5954 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2088, allocations: 0 / 0.5954 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2088, allocations: 0 / 0.5954 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.2088, allocations: 0 / 0.5954 GB, free: 9.172 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.01122/0.2201, allocations: 1.285 MB / 0.5967 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2201, allocations: 8.031 kB / 0.5967 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.2202, allocations: 34.69 kB / 0.5967 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.2206, allocations: 99.52 kB / 0.5968 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.2211, allocations: 402 kB / 0.5972 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2212, allocations: 8.359 kB / 0.5972 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.2212, allocations: 7.938 kB / 0.5972 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.2217, allocations: 395.1 kB / 0.5976 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2217, allocations: 0 / 0.5976 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2217, allocations: 4 kB / 0.5976 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2217, allocations: 0 / 0.5976 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.2222, allocations: 439.7 kB / 0.598 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.2229, allocations: 0.6574 MB / 0.5987 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.2234, allocations: 0.571 MB / 0.5992 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.2238, allocations: 341.7 kB / 0.5996 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.2248, allocations: 1.025 MB / 0.6006 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.2253, allocations: 396.9 kB / 0.6009 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.2253, allocations: 0 / 0.6009 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001424/0.2267, allocations: 1.305 MB / 0.6022 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2268, allocations: 77.11 kB / 0.6023 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.228, allocations: 1.281 MB / 0.6035 GB, free: 420 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.2281, allocations: 37.64 kB / 0.6036 GB, free: 376 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.2283, allocations: 281.4 kB / 0.6038 GB, free: 88 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.2284, allocations: 19.72 kB / 0.6039 GB, free: 68 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2462/0.4746, allocations: 355.5 kB / 0.6042 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.4747, allocations: 319.7 kB / 0.6045 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.4759, allocations: 1.36 MB / 0.6058 GB, free: 52.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.477, allocations: 1.493 MB / 0.6073 GB, free: 51.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/0.4834, allocations: 3.539 MB / 0.6107 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4834, allocations: 4.938 kB / 0.6108 GB, free: 49.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003226/0.4867, allocations: 3.962 MB / 0.6146 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4867, allocations: 8.219 kB / 0.6146 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4867, allocations: 2.031 kB / 0.6146 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4868, allocations: 3.188 kB / 0.6146 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4869, allocations: 21.66 kB / 0.6147 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4869, allocations: 1.094 kB / 0.6147 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.4874, allocations: 231.1 kB / 0.6149 GB, free: 47.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.4874, allocations: 24.94 kB / 0.6149 GB, free: 47.69 MB / 0.4981 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.0002452/0.4877, allocations: 246.4 kB / 0.6151 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4877, allocations: 71.34 kB / 0.6152 GB, free: 47.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.488, allocations: 91.08 kB / 0.6153 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.488, allocations: 0 / 0.6153 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.488, allocations: 3.938 kB / 0.6153 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.488, allocations: 2.844 kB / 0.6153 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.4884, allocations: 0.5094 MB / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4884, allocations: 2.406 kB / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.4884, allocations: 10.48 kB / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4885, allocations: 0 / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4885, allocations: 6.125 kB / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4885, allocations: 1.219 kB / 0.6158 GB, free: 47.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4885, allocations: 5.703 kB / 0.6158 GB, free: 47.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.4892, allocations: 1.005 MB / 0.6168 GB, free: 47.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.4893, allocations: 162.9 kB / 0.617 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.4894, allocations: 3.125 kB / 0.617 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4895, allocations: 5.984 kB / 0.617 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.4896, allocations: 13.25 kB / 0.617 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.4896, allocations: 18.58 kB / 0.617 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000579/0.4902, allocations: 0.7225 MB / 0.6177 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4902, allocations: 0 / 0.6177 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009234/0.4911, allocations: 397.7 kB / 0.6181 GB, free: 46.61 MB / 0.4981 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.001804/0.4929, allocations: 1.937 MB / 0.62 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.4947, allocations: 2.497 MB / 0.6224 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4947, allocations: 0 / 0.6224 GB, free: 44.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.495, allocations: 342 kB / 0.6227 GB, free: 44.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4953, allocations: 57.66 kB / 0.6228 GB, free: 44.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.5091, allocations: 14.89 MB / 0.6373 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.5095, allocations: 0.9883 MB / 0.6383 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.5098, allocations: 37.98 kB / 0.6383 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.51, allocations: 284.2 kB / 0.6386 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.51, allocations: 1.406 kB / 0.6386 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/0.5599, allocations: 19.69 MB / 0.6578 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.824, allocations: 9.031 kB / 0.6578 GB, free: 35.81 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)