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.0009459/0.0009459, allocations: 92.72 kB / 20.2 MB, free: 4.207 MB / 18.57 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.001484/0.001484, allocations: 161.3 kB / 23.52 MB, free: 0.8945 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 0.9543/0.9543, allocations: 177.2 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7533/0.7533, allocations: 154.6 MB / 414.9 MB, free: 0.6523 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 179] 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 1.653e-06/1.653e-06, allocations: 0 / 0.5204 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.02e-05, allocations: 5.266 kB / 0.5204 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001763/0.001793, allocations: 0.5859 MB / 0.521 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003196, allocations: 1.002 MB / 0.522 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.00322, allocations: 4 kB / 0.522 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.003237, allocations: 1.516 kB / 0.522 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007282/0.003965, allocations: 93.11 kB / 0.5221 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.738e-05/0.004003, allocations: 13.69 kB / 0.5221 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.004051, allocations: 0 / 0.5221 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.004095, allocations: 7.984 kB / 0.5221 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.004124, allocations: 0 / 0.5221 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.004335, allocations: 32.53 kB / 0.5221 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.004348, allocations: 3.938 kB / 0.5221 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.004518, allocations: 81.25 kB / 0.5222 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.004529, allocations: 4 kB / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.004547, allocations: 0 / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004723, allocations: 80.33 kB / 0.5223 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.004725, allocations: 0 / 0.5223 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004726, allocations: 5.031 kB / 0.5223 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.004734, allocations: 0 / 0.5223 GB, free: 0.5938 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.0003329/0.005067, allocations: 262.2 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.005104, allocations: 9.25 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.005149, allocations: 4.938 kB / 0.5226 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.005237, allocations: 102.4 kB / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.005249, allocations: 384 / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.00526, allocations: 5.969 kB / 0.5227 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.00534, allocations: 34.19 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005347, allocations: 192 / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.005356, allocations: 4.125 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005361, allocations: 0.9688 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.00538, allocations: 4 kB / 0.5227 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.005725, allocations: 343.1 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.00586, allocations: 170.1 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.00589, allocations: 84.14 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.005913, allocations: 76.47 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.005954, allocations: 109.8 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.005955, allocations: 0 / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.219e-05/0.006027, allocations: 38.41 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.006079, allocations: 126.7 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.006177, allocations: 102.4 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.006187, allocations: 25.7 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.006222, allocations: 84.94 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.006225, allocations: 4 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.00626, allocations: 14.38 kB / 0.5238 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.006351, allocations: 314.8 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.006363, allocations: 4.5 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.00637, allocations: 0.8438 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.006397, allocations: 11.86 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006399, allocations: 0 / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.006512, allocations: 37.58 kB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.006527, allocations: 8 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.006531, allocations: 0 / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.006547, allocations: 0 / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.618e-05/0.006563, allocations: 0 / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006569, allocations: 0 / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.006584, allocations: 1 kB / 0.5242 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.006591, allocations: 3.984 kB / 0.5242 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 7.684e-05/0.006668, allocations: 189.7 kB / 0.5244 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.006724, allocations: 105.5 kB / 0.5245 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.006767, allocations: 116.1 kB / 0.5246 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/0.006816, allocations: 177.2 kB / 0.5248 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-05/0.006873, allocations: 184.2 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001885/0.007062, allocations: 189.7 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.007238, allocations: 348.8 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.00727, allocations: 109 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.0073, allocations: 105 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.156e-05/0.007352, allocations: 181.2 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.007406, allocations: 188.2 kB / 0.526 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.648e-05/0.007463, allocations: 180.2 kB / 0.5262 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.971e-05/0.007513, allocations: 181.6 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.007635, allocations: 307.8 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.007671, allocations: 105.2 kB / 0.5267 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.007734, allocations: 190.9 kB / 0.5269 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.007808, allocations: 105 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.007862, allocations: 180.2 kB / 0.5272 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.007899, allocations: 104.9 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.007942, allocations: 83.28 kB / 0.5274 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007942, allocations: 0 / 0.5274 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002932/0.008236, allocations: 23.92 kB / 0.5274 GB, free: 11.03 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.0003595/0.008595, allocations: 224.8 kB / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.008671, allocations: 4.734 kB / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008672, allocations: 0 / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.008675, allocations: 4.906 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.009044, allocations: 463.6 kB / 0.5281 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.009434, allocations: 204.6 kB / 0.5283 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.009476, allocations: 58.8 kB / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.009505, allocations: 0 / 0.5283 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.009529, allocations: 12.48 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.009529, allocations: 0 / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.003234/0.01276, allocations: 0.7185 MB / 0.529 GB, free: 9.406 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.5955653432756662] Failed to read output from testmodel.py, exit status != 0: 0.020197100937366486 0.028210836000000003 0.021557107000000002 Calling exit ...