Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7053/0.7053, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 396.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 105.2 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.071e-05, allocations: 4.5 kB / 0.5551 GB, free: 86.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 81.59 MB / 0.6348 GB, free: 11.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8237/1.018, allocations: 126 MB / 0.7578 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/1.019, allocations: 109.4 kB / 0.7579 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0964/1.115, allocations: 25.34 MB / 0.7827 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/1.115, allocations: 0 / 0.7827 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.467e-05/1.115, allocations: 20 kB / 0.7827 GB, free: 12.46 MB / 0.5105 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.002553/1.118, allocations: 1.347 MB / 0.784 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.118, allocations: 11.97 kB / 0.784 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/1.118, allocations: 157.5 kB / 0.7842 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.119, allocations: 0.6488 MB / 0.7848 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/1.119, allocations: 24.81 kB / 0.7848 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/1.119, allocations: 38 kB / 0.7849 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/1.12, allocations: 385.9 kB / 0.7852 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.12, allocations: 0 / 0.7852 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.12, allocations: 4 kB / 0.7852 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.12, allocations: 3.953 kB / 0.7852 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/1.12, allocations: 426.6 kB / 0.7856 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.121, allocations: 0.9884 MB / 0.7866 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/1.122, allocations: 0.5569 MB / 0.7872 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/1.122, allocations: 333 kB / 0.7875 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/1.123, allocations: 1.032 MB / 0.7885 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/1.123, allocations: 403 kB / 0.7889 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.123, allocations: 0 / 0.7889 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001005/1.124, allocations: 1.023 MB / 0.7899 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.124, allocations: 84.73 kB / 0.7899 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/1.126, allocations: 1.619 MB / 0.7915 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/1.126, allocations: 43.83 kB / 0.7916 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/1.126, allocations: 497.7 kB / 0.792 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/1.127, allocations: 23.48 kB / 0.7921 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/1.127, allocations: 13.81 kB / 0.7921 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.127, allocations: 406.9 kB / 0.7925 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.128, allocations: 1.462 MB / 0.7939 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.13, allocations: 1.604 MB / 0.7955 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.131, allocations: 1.865 MB / 0.7973 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.132, allocations: 0 / 0.7973 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004621/1.136, allocations: 4.017 MB / 0.8012 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.136, allocations: 5.562 kB / 0.8012 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-05/1.136, allocations: 20 kB / 0.8012 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.136, allocations: 4 kB / 0.8012 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/1.137, allocations: 154.7 kB / 0.8014 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.137, allocations: 0 / 0.8014 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/1.138, allocations: 250.7 kB / 0.8016 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.138, allocations: 91.05 kB / 0.8017 GB, free: 11.55 MB / 0.5261 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.0001391/1.138, allocations: 134.9 kB / 0.8018 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.138, allocations: 118 kB / 0.8019 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.139, allocations: 1.001 MB / 0.8029 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.139, allocations: 4 kB / 0.8029 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.139, allocations: 3.984 kB / 0.8029 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.139, allocations: 4 kB / 0.8029 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/1.14, allocations: 0.6794 MB / 0.8036 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.14, allocations: 4 kB / 0.8036 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/1.14, allocations: 12.02 kB / 0.8036 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.14, allocations: 0 / 0.8036 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.14, allocations: 4 kB / 0.8036 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.14, allocations: 0 / 0.8036 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.14, allocations: 3.984 kB / 0.8036 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/1.141, allocations: 1.062 MB / 0.8047 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/1.141, allocations: 211.1 kB / 0.8049 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/1.142, allocations: 7.938 kB / 0.8049 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/1.142, allocations: 7.984 kB / 0.8049 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/1.142, allocations: 3.812 kB / 0.8049 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/1.142, allocations: 15.97 kB / 0.8049 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001236/1.143, allocations: 1.094 MB / 0.806 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/1.143, allocations: 4 kB / 0.806 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001628/1.145, allocations: 0.5128 MB / 0.8065 GB, free: 6.922 MB / 0.5261 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.001468/1.146, allocations: 0.5636 MB / 0.807 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.148, allocations: 2.505 MB / 0.8095 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.148, allocations: 0 / 0.8095 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/1.149, allocations: 330.1 kB / 0.8098 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/1.149, allocations: 58.61 kB / 0.8098 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/1.152, allocations: 2.095 MB / 0.8119 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/1.152, allocations: 1.183 MB / 0.813 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004074/1.153, allocations: 130.7 kB / 0.8132 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/1.153, allocations: 71.7 kB / 0.8132 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/1.153, allocations: 0 / 0.8132 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of Templates: time 0.0212/1.174, allocations: 11.59 MB / 0.8245 GB, free: 5.316 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)