Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005678/0.005678, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7774/0.7774, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.53/1.53, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001207/0.001207, allocations: 94.28 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4611, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.6156, allocations: 113 MB / 0.7598 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.616, allocations: 111.9 kB / 0.76 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005101/0.6211, allocations: 2.05 MB / 0.762 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6211, allocations: 0 / 0.762 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6211, allocations: 0 / 0.762 GB, free: 0.8281 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002987/0.6214, allocations: 335.4 kB / 0.7623 GB, free: 464 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6215, allocations: 8.031 kB / 0.7623 GB, free: 456 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.6215, allocations: 0 / 0.7623 GB, free: 456 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6216, allocations: 170.9 kB / 0.7624 GB, free: 244 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.6217, allocations: 7.938 kB / 0.7625 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.6217, allocations: 0 / 0.7625 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.6218, allocations: 29.7 kB / 0.7625 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.6218, allocations: 0 / 0.7625 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6218, allocations: 0 / 0.7625 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6218, allocations: 4 kB / 0.7625 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.6218, allocations: 7.984 kB / 0.7625 GB, free: 188 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.6223, allocations: 464.6 kB / 0.7629 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.6224, allocations: 177.1 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.6224, allocations: 75.28 kB / 0.7632 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6225, allocations: 113.8 kB / 0.7633 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.6225, allocations: 0 / 0.7633 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.835e-05/0.6226, allocations: 25.7 kB / 0.7633 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.6226, allocations: 130.7 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.6227, allocations: 100.9 kB / 0.7635 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.6227, allocations: 25.7 kB / 0.7636 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.6228, allocations: 80.14 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.6228, allocations: 4 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.6228, allocations: 0 / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6229, allocations: 314.8 kB / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.6229, allocations: 7.938 kB / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-06/0.6229, allocations: 0 / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.726e-05/0.623, allocations: 0 / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.623, allocations: 0 / 0.7639 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.53e-05/0.6231, allocations: 41.69 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6231, allocations: 9.188 kB / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6231, allocations: 0 / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.6231, allocations: 0 / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.71e-05/0.6231, allocations: 4 kB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6232, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.6232, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.6232, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.362e-05/0.6233, allocations: 189 kB / 0.7642 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.6234, allocations: 113 kB / 0.7643 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.6234, allocations: 104.1 kB / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/0.6235, allocations: 180.2 kB / 0.7646 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-05/0.6235, allocations: 180.3 kB / 0.7647 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.6236, allocations: 185 kB / 0.7649 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.6238, allocations: 401.2 kB / 0.7653 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-05/0.6239, allocations: 105 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.624, allocations: 116.9 kB / 0.7655 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.614e-05/0.624, allocations: 180.2 kB / 0.7657 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.6241, allocations: 180.2 kB / 0.7658 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.835e-05/0.6242, allocations: 176.3 kB / 0.766 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.458e-05/0.6242, allocations: 184.3 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.6244, allocations: 313.4 kB / 0.7665 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.6245, allocations: 189.9 kB / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.6245, allocations: 176.3 kB / 0.7668 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.6246, allocations: 113 kB / 0.7669 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.6247, allocations: 184.2 kB / 0.7671 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.6247, allocations: 101 kB / 0.7672 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.6248, allocations: 79.28 kB / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6248, allocations: 0 / 0.7673 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002597/0.6251, allocations: 23.98 kB / 0.7673 GB, free: 10.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003863/0.6255, allocations: 250.4 kB / 0.7676 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.211e-05/0.6255, allocations: 7.938 kB / 0.7676 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6255, allocations: 0 / 0.7676 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.6255, allocations: 0 / 0.7676 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.6258, allocations: 0.5302 MB / 0.7681 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.6288, allocations: 1.071 MB / 0.7691 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.6291, allocations: 0.6809 MB / 0.7698 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.6291, allocations: 0 / 0.7698 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.6291, allocations: 11.38 kB / 0.7698 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.6291, allocations: 0 / 0.7698 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of Templates: time 0.002628/0.6318, allocations: 0.6389 MB / 0.7704 GB, free: 7.676 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)