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.007729/0.007729, allocations: 102 kB / 15.73 MB, free: 6.051 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.001841/0.001841, allocations: 195 kB / 16.68 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 67.89 kB / 0.5852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4596, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002416/0.4621, allocations: 1.405 MB / 0.6656 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004269/0.4664, allocations: 3.015 MB / 0.6685 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.4665, allocations: 1.469 kB / 0.6685 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.4667, allocations: 15.86 kB / 0.6686 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.467, allocations: 28.34 kB / 0.6686 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.4699, allocations: 0.9913 MB / 0.6695 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.4701, allocations: 87.83 kB / 0.6696 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.4701, allocations: 3.969 kB / 0.6696 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.4702, allocations: 47.16 kB / 0.6697 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.4704, allocations: 141.4 kB / 0.6698 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.4705, allocations: 12.84 kB / 0.6698 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.473, allocations: 1.372 MB / 0.6712 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.4732, allocations: 272.3 kB / 0.6714 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.4734, allocations: 273.9 kB / 0.6717 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.4759, allocations: 1.476 MB / 0.6731 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4759, allocations: 0 / 0.6731 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4759, allocations: 1.156 kB / 0.6731 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4759, allocations: 4 kB / 0.6731 GB, free: 1.031 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.0109/0.4869, allocations: 1.204 MB / 0.6743 GB, free: 76 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4869, allocations: 10.81 kB / 0.6743 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.487, allocations: 40.16 kB / 0.6744 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.4874, allocations: 87.75 kB / 0.6744 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.4879, allocations: 361.9 kB / 0.6748 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4879, allocations: 22.23 kB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.488, allocations: 4.844 kB / 0.6748 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.4884, allocations: 387.2 kB / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4884, allocations: 3.984 kB / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4885, allocations: 0 / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4885, allocations: 1.219 kB / 0.6752 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.489, allocations: 438.6 kB / 0.6756 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.4897, allocations: 0.6277 MB / 0.6762 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.4902, allocations: 0.5727 MB / 0.6768 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.4906, allocations: 338.1 kB / 0.6771 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.4918, allocations: 1.023 MB / 0.6781 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.4922, allocations: 403 kB / 0.6785 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.4922, allocations: 4 kB / 0.6785 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.00148/0.4937, allocations: 1.285 MB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.4938, allocations: 83.41 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4953, allocations: 1.205 MB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.4954, allocations: 30.95 kB / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.4956, allocations: 268.9 kB / 0.6813 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4956, allocations: 19.2 kB / 0.6813 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.496, allocations: 349.2 kB / 0.6816 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.4961, allocations: 307.2 kB / 0.6819 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4975, allocations: 1.362 MB / 0.6833 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4989, allocations: 1.489 MB / 0.6847 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007525/0.5065, allocations: 3.545 MB / 0.6882 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5065, allocations: 1.375 kB / 0.6882 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005386/0.5119, allocations: 3.968 MB / 0.6921 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.512, allocations: 4 kB / 0.6921 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.512, allocations: 8.031 kB / 0.6921 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.512, allocations: 0 / 0.6921 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5121, allocations: 19.98 kB / 0.6921 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5122, allocations: 3.938 kB / 0.6921 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.5129, allocations: 232.3 kB / 0.6923 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.513, allocations: 19.98 kB / 0.6923 GB, free: 4.074 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.0003361/0.5133, allocations: 245.5 kB / 0.6926 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.5134, allocations: 62.78 kB / 0.6926 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.5138, allocations: 78.84 kB / 0.6927 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5138, allocations: 0 / 0.6927 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5138, allocations: 0 / 0.6927 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5138, allocations: 3.984 kB / 0.6927 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007891/0.5146, allocations: 0.4929 MB / 0.6932 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5146, allocations: 0 / 0.6932 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.5147, allocations: 4 kB / 0.6932 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.5147, allocations: 4.031 kB / 0.6932 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.5148, allocations: 7.984 kB / 0.6932 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5148, allocations: 0 / 0.6932 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5148, allocations: 0 / 0.6932 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.5158, allocations: 0.9974 MB / 0.6942 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.516, allocations: 151.9 kB / 0.6943 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.5161, allocations: 11.92 kB / 0.6943 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5162, allocations: 0 / 0.6943 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.5163, allocations: 7.984 kB / 0.6943 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.5163, allocations: 19.98 kB / 0.6944 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008271/0.5172, allocations: 0.6609 MB / 0.695 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.72e-07/0.5172, allocations: 0 / 0.695 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001486/0.5187, allocations: 403.8 kB / 0.6954 GB, free: 0.8242 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.002951/0.5216, allocations: 1.921 MB / 0.6973 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002584/0.5242, allocations: 2.495 MB / 0.6997 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5243, allocations: 3.938 kB / 0.6997 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.5246, allocations: 343.9 kB / 0.7 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.525, allocations: 36.81 kB / 0.7001 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.5409, allocations: 15.03 MB / 0.7147 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.5414, allocations: 0.9679 MB / 0.7157 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.5416, allocations: 36.55 kB / 0.7157 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.5419, allocations: 263.3 kB / 0.716 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.5419, allocations: 0 / 0.716 GB, free: 11.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.5898, allocations: 19.8 MB / 0.7353 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.657/10.25, allocations: 5.75 kB / 0.7353 GB, free: 7.891 MB / 0.5606 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/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)