Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.872/0.872, allocations: 134 MB / 440.3 MB, free: 204 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.89 kB / 0.6108 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1611, allocations: 84.73 MB / 0.6936 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003217/0.1644, allocations: 1.745 MB / 0.6953 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1712, allocations: 4.277 MB / 0.6994 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1713, allocations: 0 / 0.6994 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.1727, allocations: 370.4 kB / 0.6998 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1728, allocations: 71.66 kB / 0.6999 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.1758, allocations: 1.015 MB / 0.7008 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1761, allocations: 151.4 kB / 0.701 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.1761, allocations: 13.69 kB / 0.701 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1762, allocations: 51.83 kB / 0.7011 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1765, allocations: 167.4 kB / 0.7012 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.1766, allocations: 16 kB / 0.7012 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.1792, allocations: 1.544 MB / 0.7027 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.1795, allocations: 275.8 kB / 0.703 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.1798, allocations: 306.1 kB / 0.7033 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.1825, allocations: 1.573 MB / 0.7048 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1825, allocations: 0 / 0.7048 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1825, allocations: 0 / 0.7048 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.1825, allocations: 0 / 0.7048 GB, free: 13.36 MB / 0.5294 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.01113/0.1937, allocations: 1.238 MB / 0.706 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1937, allocations: 12.03 kB / 0.706 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.1941, allocations: 100.2 kB / 0.7061 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.1948, allocations: 352.2 kB / 0.7065 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1948, allocations: 384 / 0.7065 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.1949, allocations: 11.92 kB / 0.7065 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.1953, allocations: 383.2 kB / 0.7069 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.1954, allocations: 0 / 0.7069 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1954, allocations: 8 kB / 0.7069 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1954, allocations: 4 kB / 0.7069 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.1959, allocations: 439.7 kB / 0.7073 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.1966, allocations: 0.6375 MB / 0.7079 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.1972, allocations: 0.5633 MB / 0.7085 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.1976, allocations: 337.6 kB / 0.7088 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.1983, allocations: 131.9 kB / 0.7089 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.1987, allocations: 404.9 kB / 0.7093 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.1987, allocations: 0 / 0.7093 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0015/0.2002, allocations: 1.301 MB / 0.7106 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.2003, allocations: 81.09 kB / 0.7106 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2018, allocations: 1.29 MB / 0.7119 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.2018, allocations: 29.7 kB / 0.7119 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.2021, allocations: 289.9 kB / 0.7122 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.2021, allocations: 27.78 kB / 0.7122 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.2025, allocations: 347.5 kB / 0.7126 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2026, allocations: 325.9 kB / 0.7129 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.204, allocations: 1.361 MB / 0.7142 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.2056, allocations: 1.504 MB / 0.7157 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007748/0.2133, allocations: 3.534 MB / 0.7191 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2133, allocations: 3.938 kB / 0.7191 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004857/0.2182, allocations: 3.977 MB / 0.723 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2182, allocations: 8 kB / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2182, allocations: 0 / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2182, allocations: 0 / 0.723 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2184, allocations: 15.98 kB / 0.723 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2184, allocations: 4 kB / 0.723 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.2189, allocations: 233.4 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.219, allocations: 23.98 kB / 0.7233 GB, free: 10.09 MB / 0.545 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003588/0.2193, allocations: 259.5 kB / 0.7235 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.2194, allocations: 79.25 kB / 0.7236 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.2205, allocations: 0.9523 MB / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2205, allocations: 0 / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2205, allocations: 0 / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2205, allocations: 0 / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.221, allocations: 497.2 kB / 0.725 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2211, allocations: 7.969 kB / 0.725 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.2211, allocations: 8 kB / 0.725 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.2211, allocations: 0 / 0.725 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2211, allocations: 7.984 kB / 0.725 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.2212, allocations: 4 kB / 0.725 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2212, allocations: 0 / 0.725 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2222, allocations: 1.014 MB / 0.726 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2224, allocations: 91.23 kB / 0.7261 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.2224, allocations: 8 kB / 0.7261 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.2226, allocations: 4 kB / 0.7261 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2226, allocations: 7.984 kB / 0.7261 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.2227, allocations: 15.97 kB / 0.7261 GB, free: 7.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008645/0.2235, allocations: 0.7218 MB / 0.7269 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2235, allocations: 0 / 0.7269 GB, free: 6.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00111/0.2246, allocations: 407 kB / 0.7272 GB, free: 5.957 MB / 0.545 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) * Number of clocked states: 0 () * 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 (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.001384/0.226, allocations: 486 kB / 0.7277 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.2282, allocations: 1.945 MB / 0.7296 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2282, allocations: 0 / 0.7296 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.2286, allocations: 339.7 kB / 0.7299 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.229, allocations: 63.09 kB / 0.73 GB, free: 3.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.2315, allocations: 1.891 MB / 0.7318 GB, free: 1.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.2321, allocations: 0.9801 MB / 0.7328 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.2323, allocations: 41.41 kB / 0.7328 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2324, allocations: 31.42 kB / 0.7329 GB, free: 128 kB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.2324, allocations: 0 / 0.7329 GB, free: 128 kB / 0.545 GB Notification: Performance of Templates: time 0.02062/0.253, allocations: 10.3 MB / 0.7429 GB, free: 5.879 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.714743906632066] Failed to read output from testmodel.py, exit status != 0: 0.2608524579554796 0.5518152049999999 0.366194192 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8f68b797b0>