Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00182/0.00182, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002127/0.002127, allocations: 190.8 kB / 22.23 MB, free: 5.133 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.427/1.427, 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/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9544/0.9544, allocations: 145 MB / 451.3 MB, free: 5.434 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 69.23 kB / 0.6254 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 86.7 MB / 0.7101 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003584/0.1838, allocations: 1.773 MB / 0.7118 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009093/0.1929, allocations: 5.464 MB / 0.7171 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1931, allocations: 3.938 kB / 0.7172 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.1948, allocations: 374.4 kB / 0.7175 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1951, allocations: 67.67 kB / 0.7176 GB, free: 1.027 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/BuildSysPro 3.7.0/IBPSA/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.005209/0.2003, allocations: 1.593 MB / 0.7191 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2007, allocations: 159.4 kB / 0.7193 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.937e-05/0.2007, allocations: 9.734 kB / 0.7193 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2009, allocations: 63.72 kB / 0.7194 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.2011, allocations: 171.4 kB / 0.7195 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.2012, allocations: 16 kB / 0.7195 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.206, allocations: 2.624 MB / 0.7221 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.2063, allocations: 279.8 kB / 0.7224 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.2066, allocations: 298.2 kB / 0.7226 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.2113, allocations: 2.231 MB / 0.7248 GB, free: 9.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2113, allocations: 3.938 kB / 0.7248 GB, free: 9.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2113, allocations: 0 / 0.7248 GB, free: 9.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.2113, allocations: 0 / 0.7248 GB, free: 9.582 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.0113/0.2226, allocations: 1.345 MB / 0.7261 GB, free: 8.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2226, allocations: 8.031 kB / 0.7261 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.2231, allocations: 100.2 kB / 0.7262 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.2238, allocations: 356.4 kB / 0.7266 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2238, allocations: 8.375 kB / 0.7266 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2239, allocations: 4.375 kB / 0.7266 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.2244, allocations: 399.5 kB / 0.727 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2244, allocations: 0 / 0.727 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2245, allocations: 4 kB / 0.727 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2245, allocations: 3.938 kB / 0.727 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.225, allocations: 435.7 kB / 0.7274 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.2258, allocations: 0.6416 MB / 0.728 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.2264, allocations: 0.5555 MB / 0.7286 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.2267, allocations: 333.7 kB / 0.7289 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/0.2275, allocations: 143.9 kB / 0.729 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.228, allocations: 396.8 kB / 0.7294 GB, free: 4.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.228, allocations: 3.938 kB / 0.7294 GB, free: 4.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001824/0.2298, allocations: 1.309 MB / 0.7307 GB, free: 3.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.2299, allocations: 85.05 kB / 0.7308 GB, free: 3.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2314, allocations: 1.294 MB / 0.732 GB, free: 2.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.2315, allocations: 29.7 kB / 0.7321 GB, free: 1.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.2318, allocations: 289.9 kB / 0.7323 GB, free: 1.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.2319, allocations: 19.89 kB / 0.7324 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.2323, allocations: 355.6 kB / 0.7327 GB, free: 1.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2325, allocations: 318.1 kB / 0.733 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.234, allocations: 1.373 MB / 0.7343 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.2357, allocations: 1.501 MB / 0.7358 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008157/0.2438, allocations: 3.557 MB / 0.7393 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.2439, allocations: 0 / 0.7393 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005359/0.2492, allocations: 4.026 MB / 0.7432 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.2492, allocations: 4 kB / 0.7432 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.2493, allocations: 4 kB / 0.7432 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.2493, allocations: 0 / 0.7432 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.2495, allocations: 19.92 kB / 0.7432 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.2495, allocations: 8.031 kB / 0.7432 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.2502, allocations: 241.2 kB / 0.7435 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.2503, allocations: 31.98 kB / 0.7435 GB, free: 6.09 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.0004599/0.2508, allocations: 245.7 kB / 0.7437 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2509, allocations: 87.22 kB / 0.7438 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2522, allocations: 0.9446 MB / 0.7447 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2522, allocations: 7.938 kB / 0.7448 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2522, allocations: 0 / 0.7448 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2522, allocations: 0 / 0.7448 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.2529, allocations: 0.4897 MB / 0.7452 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.253, allocations: 0 / 0.7452 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.253, allocations: 11.92 kB / 0.7452 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.2531, allocations: 4 kB / 0.7452 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2531, allocations: 0 / 0.7452 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.2531, allocations: 3.938 kB / 0.7452 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2531, allocations: 8.031 kB / 0.7453 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.2543, allocations: 1.003 MB / 0.7462 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.2545, allocations: 99.17 kB / 0.7463 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.2546, allocations: 4 kB / 0.7463 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.2548, allocations: 3.984 kB / 0.7463 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.2548, allocations: 8 kB / 0.7463 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.2549, allocations: 19.97 kB / 0.7464 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001028/0.2559, allocations: 0.7183 MB / 0.7471 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 0 / 0.7471 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001751/0.2576, allocations: 0.5923 MB / 0.7476 GB, free: 1.762 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.002446/0.2601, allocations: 0.7095 MB / 0.7483 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3538/0.6139, allocations: 1.991 MB / 0.7503 GB, free: 39.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6139, allocations: 3.062 kB / 0.7503 GB, free: 39.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.6144, allocations: 332.8 kB / 0.7506 GB, free: 39.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.6149, allocations: 57.53 kB / 0.7507 GB, free: 39.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.6171, allocations: 1.888 MB / 0.7525 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.6176, allocations: 0.9864 MB / 0.7535 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.6178, allocations: 38.44 kB / 0.7535 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.6179, allocations: 33.16 kB / 0.7535 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.6179, allocations: 0 / 0.7535 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.02651/0.6444, allocations: 14.49 MB / 0.7677 GB, free: 35.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.269362460821867] Failed to read output from testmodel.py, exit status != 0: 0.6523433746770024 0.66300352 0.44912228099999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff6348d97b0>