Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_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_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/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.5 MB / 395.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 94.36 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4708, allocations: 82.31 MB / 0.634 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.6315, allocations: 125.6 MB / 0.7566 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.6319, allocations: 115.9 kB / 0.7567 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08403/0.7159, allocations: 21.9 MB / 0.7781 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.716, allocations: 0 / 0.7781 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.856e-05/0.716, allocations: 16 kB / 0.7781 GB, free: 7.051 MB / 0.5573 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.002336/0.7184, allocations: 1.012 MB / 0.7791 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7184, allocations: 8.031 kB / 0.7791 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.7189, allocations: 106.6 kB / 0.7792 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.7196, allocations: 423.5 kB / 0.7796 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.7196, allocations: 0 / 0.7796 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.7197, allocations: 24 kB / 0.7796 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003761/0.7201, allocations: 423.8 kB / 0.78 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.7204, allocations: 375.2 kB / 0.7804 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7205, allocations: 3.938 kB / 0.7804 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.7205, allocations: 0 / 0.7804 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7205, allocations: 11.95 kB / 0.7804 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.7213, allocations: 0.6942 MB / 0.7811 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.7218, allocations: 0.5477 MB / 0.7816 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.722, allocations: 329.7 kB / 0.7819 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.7231, allocations: 1.032 MB / 0.7829 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.7235, allocations: 400.8 kB / 0.7833 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7235, allocations: 0 / 0.7833 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001013/0.7246, allocations: 0.9686 MB / 0.7843 GB, free: 320 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.7246, allocations: 85.14 kB / 0.7843 GB, free: 216 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.7258, allocations: 0.9975 MB / 0.7853 GB, free: 15.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.7259, allocations: 29.7 kB / 0.7853 GB, free: 15.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.7262, allocations: 254.1 kB / 0.7856 GB, free: 14.91 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.7262, allocations: 31.58 kB / 0.7856 GB, free: 14.88 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.7263, allocations: 0 / 0.7856 GB, free: 14.88 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.7265, allocations: 419.8 kB / 0.786 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.7278, allocations: 1.186 MB / 0.7872 GB, free: 13.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.7291, allocations: 1.332 MB / 0.7885 GB, free: 11.93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.7308, allocations: 1.583 MB / 0.79 GB, free: 10.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7308, allocations: 0 / 0.79 GB, free: 10.33 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004011/0.7348, allocations: 3.38 MB / 0.7933 GB, free: 6.914 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7349, allocations: 4 kB / 0.7933 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.7349, allocations: 0 / 0.7933 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.7349, allocations: 4 kB / 0.7933 GB, free: 6.906 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.7356, allocations: 147.8 kB / 0.7935 GB, free: 6.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.7357, allocations: 8.031 kB / 0.7935 GB, free: 6.754 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.7364, allocations: 232.3 kB / 0.7937 GB, free: 6.523 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.7365, allocations: 55.98 kB / 0.7938 GB, free: 6.469 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001603/0.7367, allocations: 120.8 kB / 0.7939 GB, free: 6.344 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008637/0.7375, allocations: 0.9569 MB / 0.7948 GB, free: 5.383 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.7376, allocations: 66.78 kB / 0.7949 GB, free: 5.316 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/0.7386, allocations: 0.9282 MB / 0.7958 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7386, allocations: 0 / 0.7958 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.7386, allocations: 3.984 kB / 0.7958 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7386, allocations: 4 kB / 0.7958 GB, free: 4.371 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.7391, allocations: 464.2 kB / 0.7962 GB, free: 3.883 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7391, allocations: 4 kB / 0.7962 GB, free: 3.879 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.7392, allocations: 7.984 kB / 0.7962 GB, free: 3.871 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.7392, allocations: 0 / 0.7962 GB, free: 3.871 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.7392, allocations: 8 kB / 0.7962 GB, free: 3.863 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7392, allocations: 0 / 0.7962 GB, free: 3.863 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7392, allocations: 8.016 kB / 0.7963 GB, free: 3.855 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.7401, allocations: 0.9962 MB / 0.7972 GB, free: 2.832 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.7402, allocations: 151.9 kB / 0.7974 GB, free: 2.664 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.7403, allocations: 7.922 kB / 0.7974 GB, free: 2.656 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.7405, allocations: 8 kB / 0.7974 GB, free: 2.648 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.7405, allocations: 11.98 kB / 0.7974 GB, free: 2.637 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.7406, allocations: 7.984 kB / 0.7974 GB, free: 2.629 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006465/0.7412, allocations: 0.5947 MB / 0.798 GB, free: 2.027 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7412, allocations: 0 / 0.798 GB, free: 2.027 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001648/0.7429, allocations: 475.4 kB / 0.7984 GB, free: 1.562 MB / 0.573 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) * 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.4315/1.174, allocations: 2.076 MB / 0.8005 GB, free: 149 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.178, allocations: 2.326 MB / 0.8027 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.178, allocations: 0 / 0.8027 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/1.178, allocations: 334.6 kB / 0.8031 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/1.179, allocations: 34.84 kB / 0.8031 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/1.183, allocations: 1.779 MB / 0.8048 GB, free: 148.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/1.184, allocations: 0.9812 MB / 0.8058 GB, free: 147.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002728/1.184, allocations: 61.3 kB / 0.8058 GB, free: 147.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/1.185, allocations: 271.9 kB / 0.8061 GB, free: 147.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.924e-06/1.185, allocations: 0.5938 kB / 0.8061 GB, free: 147.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/1.229, allocations: 16.08 MB / 0.8218 GB, free: 146.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/1.23, allocations: 218.5 kB / 0.822 GB, free: 146.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.824, allocations: 1.719 kB / 0.822 GB, free: 146.4 MB / 0.573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)