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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001443/0.001443, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001778/0.001778, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.217/2.217, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 11.98 kB / 0.5069 GB, free: 5.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 82.31 MB / 0.5873 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002365/0.2273, allocations: 1.096 MB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007592/0.2349, allocations: 2.777 MB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2351, allocations: 3.938 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.2353, allocations: 4 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.2356, allocations: 27.89 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003705/0.2393, allocations: 0.7281 MB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2395, allocations: 51.86 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.2396, allocations: 7.938 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2397, allocations: 35.91 kB / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.24, allocations: 143.7 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.2401, allocations: 16 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.2432, allocations: 1.248 MB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.2436, allocations: 247.3 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.2438, allocations: 117.1 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.2459, allocations: 0.9669 MB / 0.5946 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2459, allocations: 4 kB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.035e-06/0.2459, allocations: 0 / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.2459, allocations: 0 / 0.5946 GB, free: 11.48 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.01551/0.2614, allocations: 1.171 MB / 0.5958 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.2615, allocations: 8.031 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.2616, allocations: 30.56 kB / 0.5958 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005547/0.2622, allocations: 94.73 kB / 0.5959 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.2629, allocations: 359.5 kB / 0.5962 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2629, allocations: 3.984 kB / 0.5962 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.263, allocations: 8 kB / 0.5962 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.2637, allocations: 387.2 kB / 0.5966 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2637, allocations: 4 kB / 0.5966 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2638, allocations: 0 / 0.5966 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2638, allocations: 0 / 0.5966 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.2645, allocations: 443.7 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2656, allocations: 0.6286 MB / 0.5976 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/0.2665, allocations: 0.5633 MB / 0.5982 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.2682, allocations: 1.044 MB / 0.5992 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.2689, allocations: 404.9 kB / 0.5996 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.345e-06/0.2689, allocations: 0 / 0.5996 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002258/0.2711, allocations: 1.285 MB / 0.6009 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.2712, allocations: 85.11 kB / 0.6009 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.2732, allocations: 1.19 MB / 0.6021 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.2733, allocations: 25.7 kB / 0.6021 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.2736, allocations: 265.5 kB / 0.6024 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.2736, allocations: 27.69 kB / 0.6024 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2737, allocations: 4 kB / 0.6024 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003912/0.2741, allocations: 411.9 kB / 0.6028 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.2761, allocations: 1.357 MB / 0.6041 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5427/0.8187, allocations: 1.497 MB / 0.6056 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.8205, allocations: 1.897 MB / 0.6074 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8205, allocations: 0 / 0.6074 GB, free: 48.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004028/0.8245, allocations: 3.943 MB / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.8246, allocations: 3.031 kB / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.8246, allocations: 11.62 kB / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.8246, allocations: 0 / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.8248, allocations: 17.56 kB / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8248, allocations: 5.219 kB / 0.6113 GB, free: 47.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.8254, allocations: 233 kB / 0.6115 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.8254, allocations: 20.89 kB / 0.6116 GB, free: 47.27 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.8257, allocations: 243.9 kB / 0.6118 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.8258, allocations: 64.88 kB / 0.6119 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.8261, allocations: 74.11 kB / 0.6119 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8261, allocations: 6.344 kB / 0.6119 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8261, allocations: 0 / 0.6119 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8261, allocations: 0 / 0.6119 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.8265, allocations: 497.2 kB / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8265, allocations: 3.281 kB / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.8266, allocations: 5.812 kB / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8266, allocations: 0 / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.8267, allocations: 10.39 kB / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8267, allocations: 4.703 kB / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8267, allocations: 0 / 0.6124 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.8276, allocations: 1.013 MB / 0.6134 GB, free: 46.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.8277, allocations: 147.9 kB / 0.6136 GB, free: 46.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.8277, allocations: 7.766 kB / 0.6136 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.8279, allocations: 9.844 kB / 0.6136 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.8279, allocations: 8.062 kB / 0.6136 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.828, allocations: 12.55 kB / 0.6136 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007645/0.8288, allocations: 0.6589 MB / 0.6142 GB, free: 46.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8288, allocations: 0 / 0.6142 GB, free: 46.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001134/0.8299, allocations: 396.5 kB / 0.6146 GB, free: 46.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/0.8322, allocations: 1.997 MB / 0.6166 GB, free: 45.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.8343, allocations: 2.5 MB / 0.619 GB, free: 44.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8343, allocations: 0 / 0.619 GB, free: 44.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.8346, allocations: 341.5 kB / 0.6193 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.8349, allocations: 35.92 kB / 0.6194 GB, free: 44.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.8377, allocations: 2.574 MB / 0.6219 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.8383, allocations: 0.9793 MB / 0.6228 GB, free: 42.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002814/0.8386, allocations: 34 kB / 0.6229 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.8389, allocations: 261 kB / 0.6231 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.839, allocations: 0 / 0.6231 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.9021, allocations: 16.44 MB / 0.6392 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.9024, allocations: 262.4 kB / 0.6394 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.82/4.722, allocations: 1.094 kB / 0.6394 GB, free: 41.42 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: