Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000844/0.000844, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009253/0.0009255, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8289/0.8289, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8.812 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0005844/0.1354, allocations: 286.8 kB / 0.5875 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.1363, allocations: 0.9371 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.1364, allocations: 0 / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-06/0.1364, allocations: 0 / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.137, allocations: 83.84 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.269e-05/0.137, allocations: 7.938 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.28e-05/0.137, allocations: 4 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1371, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1371, allocations: 11.92 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1372, allocations: 35.91 kB / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.1372, allocations: 4 kB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.1373, allocations: 47.95 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.1374, allocations: 3.984 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1374, allocations: 29.7 kB / 0.5886 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.663e-05/0.1375, allocations: 43.95 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.1375, allocations: 0 / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1375, allocations: 0 / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1375, allocations: 0 / 0.5887 GB, free: 1.602 MB / 494.1 MB 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.0002562/0.1378, allocations: 331.7 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1378, allocations: 8.031 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.1378, allocations: 0 / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1379, allocations: 178.9 kB / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.138, allocations: 0 / 0.5892 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.138, allocations: 4 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.1381, allocations: 29.64 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1381, allocations: 4 kB / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1381, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1381, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.296e-05/0.1381, allocations: 3.938 kB / 0.5892 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1385, allocations: 468.6 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.1386, allocations: 177.1 kB / 0.5898 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1386, allocations: 75.28 kB / 0.5899 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1386, allocations: 105.8 kB / 0.59 GB, free: 64 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.1386, allocations: 3.984 kB / 0.59 GB, free: 60 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.108e-05/0.1387, allocations: 29.7 kB / 0.59 GB, free: 24 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1387, allocations: 130.7 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.1388, allocations: 101.8 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.1389, allocations: 25.7 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1389, allocations: 80.14 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.1389, allocations: 0 / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-06/0.1389, allocations: 4 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.139, allocations: 314.8 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.139, allocations: 3.938 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.139, allocations: 4 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.475e-05/0.139, allocations: 8 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.139, allocations: 0 / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.181e-05/0.1391, allocations: 37.62 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1392, allocations: 4 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1392, allocations: 4 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1392, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-05/0.1392, allocations: 4 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1392, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.1392, allocations: 4.094 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1392, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 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 7.545e-05/0.1393, allocations: 189.1 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1394, allocations: 104.9 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.1394, allocations: 112.1 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.1395, allocations: 184.2 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/0.1395, allocations: 180.3 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.865e-05/0.1396, allocations: 176.3 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1398, allocations: 417.1 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.1398, allocations: 101 kB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1398, allocations: 104.9 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.597e-05/0.1399, allocations: 176.3 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.1399, allocations: 192.2 kB / 0.5926 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.181e-05/0.14, allocations: 180.2 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.001e-05/0.1401, allocations: 176.3 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1402, allocations: 315.6 kB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1402, allocations: 182.1 kB / 0.5934 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.1403, allocations: 188.2 kB / 0.5936 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.1404, allocations: 101 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.1404, allocations: 184.2 kB / 0.5938 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.1405, allocations: 101 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1405, allocations: 79.28 kB / 0.594 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1405, allocations: 4 kB / 0.594 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1408, allocations: 24 kB / 0.594 GB, free: 11.64 MB / 0.4981 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.0002789/0.141, allocations: 223.8 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.773e-05/0.1411, allocations: 5.719 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1411, allocations: 4.062 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.1411, allocations: 4 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1414, allocations: 0.5256 MB / 0.5948 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.1416, allocations: 162 kB / 0.5949 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1418, allocations: 0.677 MB / 0.5956 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.1418, allocations: 4 kB / 0.5956 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.1418, allocations: 7.438 kB / 0.5956 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.1418, allocations: 0 / 0.5956 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.002218/0.144, allocations: 0.6388 MB / 0.5962 GB, free: 9.379 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: