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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.303/1.303, allocations: 154.6 MB / 414.1 MB, free: 0.5703 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.737e-05/3.969e-05, allocations: 6.125 kB / 0.5197 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002925/0.002965, allocations: 0.5829 MB / 0.5203 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.005611, allocations: 1.001 MB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.005634, allocations: 1.125 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.532e-05/0.005649, allocations: 1.094 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.006889, allocations: 92.48 kB / 0.5213 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.576e-05/0.006965, allocations: 15.97 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.007018, allocations: 5.625 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.007065, allocations: 4 kB / 0.5214 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.007099, allocations: 0 / 0.5214 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.007386, allocations: 35.91 kB / 0.5214 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.007402, allocations: 5.75 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.007709, allocations: 75.91 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.007722, allocations: 0 / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.00775, allocations: 4 kB / 0.5215 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.008054, allocations: 83.77 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.008059, allocations: 1.75 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00806, allocations: 0 / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.008065, allocations: 0 / 0.5215 GB, free: 0.6055 MB / 490.7 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.0005276/0.008592, allocations: 266.2 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.008642, allocations: 8.781 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.008702, allocations: 4.938 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.008875, allocations: 107.2 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.008889, allocations: 384 / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.008904, allocations: 4.375 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.009024, allocations: 31.61 kB / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009035, allocations: 192 / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.009049, allocations: 4.125 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.009054, allocations: 0 / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.009084, allocations: 5.469 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.009859, allocations: 343.1 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.01003, allocations: 169.1 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.0101, allocations: 80.14 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/0.01016, allocations: 81.81 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.01026, allocations: 109.8 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.01026, allocations: 0 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001433/0.01041, allocations: 41.58 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.01053, allocations: 130.7 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.0107, allocations: 93.86 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01073, allocations: 26.27 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.01082, allocations: 84.14 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.01083, allocations: 0.5625 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.01088, allocations: 18.64 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.01113, allocations: 310.8 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.01115, allocations: 4 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.01116, allocations: 1.531 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.01121, allocations: 8.859 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01121, allocations: 0 / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002086/0.01142, allocations: 42.52 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.01145, allocations: 4 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.01146, allocations: 9.391 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.01148, allocations: 0 / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.216e-05/0.01151, allocations: 0 / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.01151, allocations: 0 / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.01154, allocations: 3.25 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01155, allocations: 7.938 kB / 0.5235 GB, free: 14.48 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.01173, allocations: 185.1 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.01186, allocations: 108.9 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.01196, allocations: 112.4 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001641/0.01213, allocations: 184.2 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001585/0.01229, allocations: 184.2 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000148/0.01243, allocations: 180.3 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.01285, allocations: 355.8 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.663e-05/0.01295, allocations: 105 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01305, allocations: 105 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/0.0132, allocations: 180.2 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.01335, allocations: 184.2 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000151/0.0135, allocations: 180.2 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001531/0.01366, allocations: 184.3 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.01397, allocations: 309.3 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.01407, allocations: 101 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.01424, allocations: 188.1 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.01441, allocations: 105 kB / 0.5263 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.01456, allocations: 176.8 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/0.01466, allocations: 104.9 kB / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.01475, allocations: 85.59 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01475, allocations: 0 / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005085/0.01526, allocations: 27.86 kB / 0.5267 GB, free: 11.04 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006637/0.01592, allocations: 229.2 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.01601, allocations: 4 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01601, allocations: 0 / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.01601, allocations: 0 / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.01674, allocations: 474.4 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.01744, allocations: 210.3 kB / 0.5275 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.01753, allocations: 55.34 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.01757, allocations: 5.031 kB / 0.5276 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.01761, allocations: 9.438 kB / 0.5276 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.01761, allocations: 3.938 kB / 0.5276 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.005779/0.02339, allocations: 0.7227 MB / 0.5283 GB, free: 9.398 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.880607077968307]