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.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.001308/0.001308, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001464/0.001464, allocations: 215.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.8637/0.8637, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.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.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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 65.22 kB / 0.6198 GB, free: 6.719 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2023, allocations: 85.91 MB / 0.7037 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003964/0.2063, allocations: 1.773 MB / 0.7055 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007563/0.2138, allocations: 4.281 MB / 0.7096 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.214, allocations: 0 / 0.7096 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.2156, allocations: 374.4 kB / 0.71 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.2158, allocations: 55.67 kB / 0.7101 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.2196, allocations: 1.033 MB / 0.7111 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.2199, allocations: 151.3 kB / 0.7112 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.22, allocations: 9.75 kB / 0.7112 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2201, allocations: 55.77 kB / 0.7113 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2204, allocations: 167.4 kB / 0.7114 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.2204, allocations: 20 kB / 0.7114 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.2237, allocations: 1.548 MB / 0.713 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.224, allocations: 279.7 kB / 0.7132 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.2243, allocations: 302.1 kB / 0.7135 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.2276, allocations: 1.569 MB / 0.715 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2276, allocations: 0 / 0.715 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2276, allocations: 3.938 kB / 0.7151 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.2276, allocations: 0 / 0.7151 GB, free: 5.246 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.009471/0.2371, allocations: 1.246 MB / 0.7163 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2371, allocations: 8.031 kB / 0.7163 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.2376, allocations: 104.1 kB / 0.7164 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.2384, allocations: 344.3 kB / 0.7167 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.2384, allocations: 12.31 kB / 0.7167 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.2385, allocations: 7.938 kB / 0.7167 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.239, allocations: 391.2 kB / 0.7171 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.239, allocations: 0 / 0.7171 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.239, allocations: 0 / 0.7171 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2391, allocations: 0 / 0.7171 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.2396, allocations: 439.7 kB / 0.7175 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.2405, allocations: 0.6414 MB / 0.7181 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.2412, allocations: 0.5632 MB / 0.7187 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.2416, allocations: 333.7 kB / 0.719 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.2423, allocations: 131.9 kB / 0.7191 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.2428, allocations: 404.9 kB / 0.7195 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 2.484e-06/0.2429, allocations: 0 / 0.7195 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001808/0.2447, allocations: 1.305 MB / 0.7208 GB, free: 15.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.2448, allocations: 89.03 kB / 0.7209 GB, free: 15.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2464, allocations: 1.285 MB / 0.7221 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.2465, allocations: 29.7 kB / 0.7222 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.2468, allocations: 289.8 kB / 0.7224 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.2468, allocations: 19.89 kB / 0.7225 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.2472, allocations: 347.7 kB / 0.7228 GB, free: 13.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2474, allocations: 326 kB / 0.7231 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.249, allocations: 1.357 MB / 0.7244 GB, free: 11.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.2506, allocations: 1.489 MB / 0.7259 GB, free: 9.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/0.2586, allocations: 3.538 MB / 0.7293 GB, free: 6.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.2586, allocations: 3.938 kB / 0.7293 GB, free: 6.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005369/0.264, allocations: 3.985 MB / 0.7332 GB, free: 2.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.264, allocations: 7.938 kB / 0.7332 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.264, allocations: 4 kB / 0.7332 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.264, allocations: 0 / 0.7332 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2642, allocations: 27.95 kB / 0.7333 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2642, allocations: 0 / 0.7333 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.2648, allocations: 241.3 kB / 0.7335 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.2648, allocations: 19.98 kB / 0.7335 GB, free: 1.965 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.00037/0.2652, allocations: 257.5 kB / 0.7338 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.2653, allocations: 75.3 kB / 0.7338 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2664, allocations: 0.9445 MB / 0.7348 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2664, allocations: 7.984 kB / 0.7348 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2664, allocations: 0 / 0.7348 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2664, allocations: 0 / 0.7348 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.2669, allocations: 497.2 kB / 0.7352 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2669, allocations: 0 / 0.7352 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.267, allocations: 7.984 kB / 0.7352 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.267, allocations: 0 / 0.7352 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.267, allocations: 8 kB / 0.7353 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.267, allocations: 4.031 kB / 0.7353 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.267, allocations: 3.938 kB / 0.7353 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.2681, allocations: 1.018 MB / 0.7363 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2682, allocations: 83.3 kB / 0.7363 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.2683, allocations: 3.984 kB / 0.7363 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2685, allocations: 12 kB / 0.7364 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2685, allocations: 7.984 kB / 0.7364 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.2685, allocations: 11.98 kB / 0.7364 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008758/0.2694, allocations: 0.7179 MB / 0.7371 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 0.7371 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001207/0.2706, allocations: 407 kB / 0.7375 GB, free: 13.84 MB / 0.5606 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.001227/0.2719, allocations: 489.9 kB / 0.7379 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.2741, allocations: 1.945 MB / 0.7398 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.2741, allocations: 4.062 kB / 0.7398 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.2745, allocations: 327.8 kB / 0.7401 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2749, allocations: 73.72 kB / 0.7402 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.2777, allocations: 1.928 MB / 0.7421 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.2784, allocations: 0.9877 MB / 0.7431 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.2785, allocations: 31.41 kB / 0.7431 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.2785, allocations: 0 / 0.7431 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of Templates: time 0.4044/0.683, allocations: 11.3 MB / 0.7541 GB, free: 45.34 MB / 0.5606 GB " [Timeout remaining time 659] 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: 10.921804920071736] Failed to read output from testmodel.py, exit status != 0: 0.6915456920396537 0.70765077 0.477066286 Calling exit ...