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_1borehole_5meters.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.001309/0.001309, allocations: 114.5 kB / 19.69 MB, free: 2.062 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.001608/0.001608, allocations: 222 kB / 23.01 MB, free: 4.922 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9586/0.9586, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002158/0.002158, allocations: 63.06 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.225, allocations: 89.18 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003951/0.229, allocations: 1.45 MB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009214/0.2382, allocations: 4.277 MB / 0.734 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.2383, allocations: 4 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.2384, allocations: 11.86 kB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2387, allocations: 43.77 kB / 0.7341 GB, free: 11.43 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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'. Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.2436, allocations: 1.602 MB / 0.7356 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.2438, allocations: 87.73 kB / 0.7357 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.2439, allocations: 7.938 kB / 0.7357 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.244, allocations: 55.77 kB / 0.7358 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.2442, allocations: 151.6 kB / 0.7359 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.2443, allocations: 16 kB / 0.7359 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/0.2495, allocations: 2.648 MB / 0.7385 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.2499, allocations: 275.8 kB / 0.7388 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.2502, allocations: 278.3 kB / 0.7391 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.2549, allocations: 2.161 MB / 0.7412 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.255, allocations: 0 / 0.7412 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.255, allocations: 0 / 0.7412 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.255, allocations: 0 / 0.7412 GB, free: 4.148 MB / 0.5606 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.009407/0.2644, allocations: 1.272 MB / 0.7424 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.2644, allocations: 8.031 kB / 0.7424 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.2645, allocations: 42.67 kB / 0.7425 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.265, allocations: 92.25 kB / 0.7425 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.2656, allocations: 303.2 kB / 0.7428 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2656, allocations: 4.125 kB / 0.7428 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.2656, allocations: 15.94 kB / 0.7429 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.2662, allocations: 391.2 kB / 0.7432 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2663, allocations: 0 / 0.7432 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2663, allocations: 4 kB / 0.7432 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2663, allocations: 4 kB / 0.7432 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.2668, allocations: 435.7 kB / 0.7437 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.2677, allocations: 0.6166 MB / 0.7443 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.2683, allocations: 0.5672 MB / 0.7448 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.2687, allocations: 333.6 kB / 0.7451 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.2695, allocations: 131.9 kB / 0.7453 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.2699, allocations: 400.9 kB / 0.7456 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.2699, allocations: 0 / 0.7456 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001555/0.2715, allocations: 1.293 MB / 0.7469 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.2715, allocations: 85.11 kB / 0.747 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.2731, allocations: 1.227 MB / 0.7482 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.2732, allocations: 29.7 kB / 0.7482 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.2735, allocations: 261.9 kB / 0.7485 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.2735, allocations: 23.83 kB / 0.7485 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.274, allocations: 355.6 kB / 0.7488 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2741, allocations: 310 kB / 0.7491 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.2756, allocations: 1.369 MB / 0.7504 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.2772, allocations: 1.509 MB / 0.7519 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/0.2848, allocations: 3.556 MB / 0.7554 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.2848, allocations: 0 / 0.7554 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005287/0.2901, allocations: 4.011 MB / 0.7593 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2901, allocations: 4 kB / 0.7593 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.2901, allocations: 7.938 kB / 0.7593 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2902, allocations: 0 / 0.7593 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2903, allocations: 23.92 kB / 0.7593 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2903, allocations: 7.938 kB / 0.7594 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.2909, allocations: 237.3 kB / 0.7596 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.2909, allocations: 23.98 kB / 0.7596 GB, free: 0.8828 MB / 0.5762 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.0003518/0.2913, allocations: 243.8 kB / 0.7598 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.2914, allocations: 71.34 kB / 0.7599 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3659/0.6573, allocations: 0.9362 MB / 0.7608 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.6573, allocations: 1.469 kB / 0.7608 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6573, allocations: 0 / 0.7608 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.6573, allocations: 2.281 kB / 0.7608 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.658, allocations: 474.5 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.658, allocations: 2.906 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6581, allocations: 6.531 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/0.6581, allocations: 1.594 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.6581, allocations: 5.047 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6581, allocations: 4.781 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6581, allocations: 1.312 kB / 0.7613 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.6596, allocations: 1.006 MB / 0.7623 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.6597, allocations: 84.52 kB / 0.7624 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.6598, allocations: 3.656 kB / 0.7624 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.66, allocations: 6.75 kB / 0.7624 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.6601, allocations: 8.125 kB / 0.7624 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.6601, allocations: 14.2 kB / 0.7624 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001079/0.6612, allocations: 0.671 MB / 0.763 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6612, allocations: 0 / 0.763 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002434/0.6637, allocations: 0.5856 MB / 0.7636 GB, free: 34.41 MB / 0.5762 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.004116/0.6678, allocations: 2.167 MB / 0.7657 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.6715, allocations: 1.995 MB / 0.7677 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6715, allocations: 0 / 0.7677 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.6721, allocations: 338.9 kB / 0.768 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.6726, allocations: 36.14 kB / 0.768 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/0.6986, allocations: 15.28 MB / 0.783 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.6993, allocations: 0.9643 MB / 0.7839 GB, free: 28.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.6995, allocations: 39.09 kB / 0.7839 GB, free: 28.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.6998, allocations: 267.4 kB / 0.7842 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.123e-06/0.6998, allocations: 1.312 kB / 0.7842 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.7679, allocations: 24.18 MB / 0.8078 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.77, allocations: 7.734 kB / 0.8078 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.57353935088031] Failed to read output from testmodel.py, exit status != 0: 14.896964373998344 14.914202418 14.655702615 Calling exit ...