Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001408/0.001408, allocations: 113.3 kB / 17.8 MB, free: 5.344 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.001501/0.001501, allocations: 192.5 kB / 20.74 MB, free: 2.41 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.61/1.61, allocations: 225.6 MB / 249.2 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.085/1.085, allocations: 149.7 MB / 453.7 MB, free: 10.57 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.83 kB / 0.6286 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2124, allocations: 87.85 MB / 0.7144 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00416/0.2166, allocations: 1.754 MB / 0.7161 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.2271, allocations: 5.413 MB / 0.7214 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2273, allocations: 11.94 kB / 0.7214 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.2292, allocations: 370.4 kB / 0.7217 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.2295, allocations: 55.73 kB / 0.7218 GB, free: 3.992 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.2348, allocations: 1.503 MB / 0.7233 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.2352, allocations: 155.4 kB / 0.7234 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.2353, allocations: 9.547 kB / 0.7234 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2354, allocations: 63.7 kB / 0.7235 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.2357, allocations: 167.5 kB / 0.7236 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.2358, allocations: 20 kB / 0.7237 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.2408, allocations: 2.313 MB / 0.7259 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.2411, allocations: 279.8 kB / 0.7262 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.2415, allocations: 306.1 kB / 0.7265 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.2467, allocations: 2.188 MB / 0.7286 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2467, allocations: 4 kB / 0.7286 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2467, allocations: 0 / 0.7286 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.2467, allocations: 0 / 0.7286 GB, free: 12.98 MB / 0.545 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.009611/0.2563, allocations: 1.418 MB / 0.73 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.2564, allocations: 8.031 kB / 0.73 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.2568, allocations: 96.2 kB / 0.7301 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.2577, allocations: 422.3 kB / 0.7305 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2577, allocations: 4.375 kB / 0.7305 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.2577, allocations: 7.938 kB / 0.7305 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.2583, allocations: 387.2 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2583, allocations: 0 / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2583, allocations: 4 kB / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2583, allocations: 0 / 0.7309 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.2588, allocations: 447.7 kB / 0.7313 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.2598, allocations: 0.6659 MB / 0.732 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.2605, allocations: 0.5593 MB / 0.7325 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.2609, allocations: 341.6 kB / 0.7328 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.2622, allocations: 1.025 MB / 0.7338 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.2627, allocations: 408.9 kB / 0.7342 GB, free: 6.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.2627, allocations: 4 kB / 0.7342 GB, free: 6.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.00182/0.2645, allocations: 1.293 MB / 0.7355 GB, free: 5.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.2646, allocations: 85.09 kB / 0.7356 GB, free: 5.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.2662, allocations: 1.298 MB / 0.7368 GB, free: 4.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.2663, allocations: 29.83 kB / 0.7369 GB, free: 4.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.2666, allocations: 293.9 kB / 0.7372 GB, free: 3.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.2666, allocations: 27.78 kB / 0.7372 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.267, allocations: 351.6 kB / 0.7375 GB, free: 3.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2672, allocations: 322 kB / 0.7378 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.2688, allocations: 1.373 MB / 0.7392 GB, free: 1.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.2705, allocations: 1.509 MB / 0.7406 GB, free: 176 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007822/0.2783, allocations: 3.56 MB / 0.7441 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.2783, allocations: 3.938 kB / 0.7441 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005649/0.2839, allocations: 4.007 MB / 0.748 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.284, allocations: 8.031 kB / 0.748 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.284, allocations: 3.984 kB / 0.748 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.284, allocations: 4 kB / 0.748 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2841, allocations: 12 kB / 0.7481 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2842, allocations: 0 / 0.7481 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.2847, allocations: 245.3 kB / 0.7483 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.2848, allocations: 19.98 kB / 0.7483 GB, free: 8.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004193/0.2852, allocations: 256 kB / 0.7486 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2853, allocations: 87.23 kB / 0.7486 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.2857, allocations: 79.81 kB / 0.7487 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2857, allocations: 4 kB / 0.7487 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2857, allocations: 3.938 kB / 0.7487 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2857, allocations: 3.938 kB / 0.7487 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.2863, allocations: 0.5218 MB / 0.7492 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2863, allocations: 3.984 kB / 0.7492 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.2864, allocations: 8.031 kB / 0.7492 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2864, allocations: 4 kB / 0.7493 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2864, allocations: 3.984 kB / 0.7493 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2864, allocations: 0 / 0.7493 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2864, allocations: 4 kB / 0.7493 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2875, allocations: 1.014 MB / 0.7502 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2877, allocations: 164.4 kB / 0.7504 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.2878, allocations: 7.984 kB / 0.7504 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2879, allocations: 4 kB / 0.7504 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.2879, allocations: 11.92 kB / 0.7504 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.288, allocations: 11.98 kB / 0.7504 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000954/0.2889, allocations: 0.7261 MB / 0.7511 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2889, allocations: 0 / 0.7511 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00175/0.2907, allocations: 0.5923 MB / 0.7517 GB, free: 4.578 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.002533/0.2932, allocations: 0.6884 MB / 0.7524 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.2957, allocations: 2.001 MB / 0.7544 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2957, allocations: 0 / 0.7544 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.2961, allocations: 339.8 kB / 0.7547 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2965, allocations: 66.64 kB / 0.7547 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.2994, allocations: 1.928 MB / 0.7566 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.3001, allocations: 0.9879 MB / 0.7576 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3003, allocations: 31.42 kB / 0.7576 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of SimCode: time 5.92e-07/0.3003, allocations: 3.938 kB / 0.7576 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.02785/0.3281, allocations: 14.58 MB / 0.7719 GB, free: 15.9 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.814469996956177] Failed to read output from testmodel.py, exit status != 0: 0.33663704292848706 0.351981089 0.102090885 Calling exit ...