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/Complex 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) 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/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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 130.7 MB / 138.7 MB, free: 3.5 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.468/1.468, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.001245/0.001245, allocations: 90.73 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.064e-05, allocations: 4 kB / 0.5486 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5131, allocations: 81.56 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.68, allocations: 129.8 MB / 0.755 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6803, allocations: 119.9 kB / 0.7551 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.7871, allocations: 29.89 MB / 0.7843 GB, free: 14.81 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7871, allocations: 0 / 0.7843 GB, free: 14.81 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.518e-05/0.7872, allocations: 19.94 kB / 0.7843 GB, free: 14.79 MB / 0.573 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.002747/0.79, allocations: 1.048 MB / 0.7853 GB, free: 13.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.79, allocations: 12.03 kB / 0.7854 GB, free: 13.69 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.7905, allocations: 110.6 kB / 0.7855 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.7914, allocations: 468.7 kB / 0.7859 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.7914, allocations: 3.984 kB / 0.7859 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.7915, allocations: 20 kB / 0.7859 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003948/0.7919, allocations: 423.8 kB / 0.7863 GB, free: 12.63 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.7923, allocations: 379.2 kB / 0.7867 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.7923, allocations: 0 / 0.7867 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.7923, allocations: 3.953 kB / 0.7867 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7923, allocations: 3.984 kB / 0.7867 GB, free: 12.24 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.7932, allocations: 0.7187 MB / 0.7874 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.7937, allocations: 0.5555 MB / 0.788 GB, free: 10.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.794, allocations: 329.7 kB / 0.7883 GB, free: 10.58 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.7952, allocations: 1.029 MB / 0.7893 GB, free: 9.332 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.7957, allocations: 400.8 kB / 0.7897 GB, free: 8.922 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.7957, allocations: 0 / 0.7897 GB, free: 8.922 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.001215/0.7969, allocations: 0.9686 MB / 0.7906 GB, free: 7.945 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.797, allocations: 85.14 kB / 0.7907 GB, free: 7.844 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.7985, allocations: 1.06 MB / 0.7917 GB, free: 6.773 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.7986, allocations: 33.62 kB / 0.7917 GB, free: 6.734 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7989, allocations: 286 kB / 0.792 GB, free: 6.449 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.799, allocations: 15.81 kB / 0.792 GB, free: 6.434 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.799, allocations: 0 / 0.792 GB, free: 6.434 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.7992, allocations: 427.8 kB / 0.7924 GB, free: 6.008 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.8005, allocations: 1.19 MB / 0.7936 GB, free: 4.816 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.8019, allocations: 1.332 MB / 0.7949 GB, free: 3.473 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.8037, allocations: 1.583 MB / 0.7965 GB, free: 1.875 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.8037, allocations: 0 / 0.7965 GB, free: 1.875 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.4963/1.3, allocations: 3.378 MB / 0.7997 GB, free: 145.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.3, allocations: 6.422 kB / 0.7998 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/1.3, allocations: 2.219 kB / 0.7998 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/1.3, allocations: 3.516 kB / 0.7998 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/1.301, allocations: 147.9 kB / 0.7999 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.301, allocations: 6.047 kB / 0.7999 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/1.302, allocations: 227 kB / 0.8001 GB, free: 145.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.302, allocations: 58.53 kB / 0.8002 GB, free: 145.9 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.0001476/1.302, allocations: 121.2 kB / 0.8003 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/1.302, allocations: 71.95 kB / 0.8004 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.304, allocations: 0.9338 MB / 0.8013 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.304, allocations: 4.953 kB / 0.8013 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.304, allocations: 1.266 kB / 0.8013 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.304, allocations: 4.641 kB / 0.8013 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/1.305, allocations: 496.8 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.305, allocations: 0.9375 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/1.305, allocations: 8.984 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/1.305, allocations: 4.75 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.305, allocations: 3.656 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.305, allocations: 1.75 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.305, allocations: 3.953 kB / 0.8018 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/1.307, allocations: 1.006 MB / 0.8028 GB, free: 145.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.307, allocations: 160.5 kB / 0.8029 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/1.307, allocations: 2.156 kB / 0.8029 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/1.307, allocations: 12.53 kB / 0.8029 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/1.307, allocations: 7.672 kB / 0.8029 GB, free: 145.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/1.307, allocations: 13.39 kB / 0.803 GB, free: 145.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001248/1.308, allocations: 0.6395 MB / 0.8036 GB, free: 145.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.308, allocations: 2.625 kB / 0.8036 GB, free: 145.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002409/1.311, allocations: 488.4 kB / 0.804 GB, free: 145.1 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.002043/1.313, allocations: 0.6634 MB / 0.8047 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003492/1.316, allocations: 2.329 MB / 0.807 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.316, allocations: 0 / 0.807 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000445/1.317, allocations: 337.4 kB / 0.8073 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/1.317, allocations: 51.41 kB / 0.8073 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/1.32, allocations: 1.481 MB / 0.8088 GB, free: 144.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/1.32, allocations: 1.004 MB / 0.8098 GB, free: 144 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002527/1.32, allocations: 62.27 kB / 0.8098 GB, free: 144 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.32, allocations: 36 kB / 0.8099 GB, free: 144 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/1.32, allocations: 0 / 0.8099 GB, free: 144 MB / 0.573 GB Notification: Performance of Templates: time 0.01811/1.339, allocations: 9.961 MB / 0.8196 GB, free: 143.4 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)