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.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.00129/0.00129, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001449/0.001449, allocations: 212.7 kB / 23 MB, free: 5.004 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.039 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.9501/0.9501, allocations: 150 MB / 463.2 MB, free: 10.51 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_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.002269/0.002269, allocations: 66.83 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.197, allocations: 89.17 MB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003658/0.2007, allocations: 1.781 MB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009636/0.2103, allocations: 5.484 MB / 0.7355 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.2105, allocations: 3.938 kB / 0.7355 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.2125, allocations: 378.4 kB / 0.7359 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.2128, allocations: 63.67 kB / 0.7359 GB, free: 9.508 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.004953/0.2177, allocations: 1.604 MB / 0.7375 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.2181, allocations: 165.1 kB / 0.7377 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.2182, allocations: 13.69 kB / 0.7377 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2184, allocations: 63.72 kB / 0.7377 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.2186, allocations: 163.5 kB / 0.7379 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.2187, allocations: 16 kB / 0.7379 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.2236, allocations: 2.652 MB / 0.7405 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.2239, allocations: 279.8 kB / 0.7408 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.2243, allocations: 318 kB / 0.7411 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.229, allocations: 2.224 MB / 0.7432 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.229, allocations: 0 / 0.7432 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.229, allocations: 7.938 kB / 0.7432 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.229, allocations: 0 / 0.7432 GB, free: 2.008 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.01006/0.2391, allocations: 1.338 MB / 0.7446 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.885e-05/0.2392, allocations: 8.031 kB / 0.7446 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.2393, allocations: 34.75 kB / 0.7446 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.2397, allocations: 104.1 kB / 0.7447 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.2405, allocations: 356.5 kB / 0.745 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.2405, allocations: 8.125 kB / 0.745 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.2405, allocations: 4 kB / 0.745 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.241, allocations: 391.2 kB / 0.7454 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.241, allocations: 3.938 kB / 0.7454 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2411, allocations: 0 / 0.7454 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2411, allocations: 0 / 0.7454 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.2416, allocations: 435.8 kB / 0.7458 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.2425, allocations: 0.6416 MB / 0.7465 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.2431, allocations: 0.5672 MB / 0.747 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.2434, allocations: 337.6 kB / 0.7473 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006789/0.2441, allocations: 131.9 kB / 0.7475 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.2446, allocations: 408.8 kB / 0.7479 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.2446, allocations: 3.938 kB / 0.7479 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001744/0.2463, allocations: 1.297 MB / 0.7491 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.2464, allocations: 81.05 kB / 0.7492 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2481, allocations: 1.298 MB / 0.7505 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.2482, allocations: 33.7 kB / 0.7505 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.2485, allocations: 289.9 kB / 0.7508 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.2485, allocations: 31.77 kB / 0.7508 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.249, allocations: 347.6 kB / 0.7511 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2491, allocations: 322 kB / 0.7514 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.2506, allocations: 1.373 MB / 0.7528 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.2523, allocations: 1.505 MB / 0.7543 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/0.2599, allocations: 3.564 MB / 0.7577 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.2599, allocations: 0 / 0.7577 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3462/0.6061, allocations: 4.002 MB / 0.7616 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6062, allocations: 8.812 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.6062, allocations: 0.5 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.6062, allocations: 2.812 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6064, allocations: 17.11 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6064, allocations: 5 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.6069, allocations: 241.1 kB / 0.7619 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.607, allocations: 26.47 kB / 0.7619 GB, free: 32.39 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.0003143/0.6073, allocations: 253.5 kB / 0.7622 GB, free: 32.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.6073, allocations: 77.17 kB / 0.7623 GB, free: 32.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/0.6083, allocations: 0.9468 MB / 0.7632 GB, free: 32.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6083, allocations: 3.438 kB / 0.7632 GB, free: 32.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6083, allocations: 0.9375 kB / 0.7632 GB, free: 32.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6083, allocations: 0 / 0.7632 GB, free: 32.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.6087, allocations: 0.4911 MB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6087, allocations: 1.5 kB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.6088, allocations: 12.77 kB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6088, allocations: 0.8438 kB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6088, allocations: 8.359 kB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6088, allocations: 3.031 kB / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6088, allocations: 0 / 0.7637 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.6096, allocations: 1.017 MB / 0.7647 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.6097, allocations: 92.91 kB / 0.7648 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.6097, allocations: 2.344 kB / 0.7648 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.6099, allocations: 7.703 kB / 0.7648 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.6099, allocations: 8.156 kB / 0.7648 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6099, allocations: 12.64 kB / 0.7648 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006842/0.6106, allocations: 0.728 MB / 0.7655 GB, free: 31.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6106, allocations: 2.812 kB / 0.7655 GB, free: 31.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001618/0.6122, allocations: 0.5894 MB / 0.7661 GB, free: 31.71 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.003431/0.6157, allocations: 2.162 MB / 0.7682 GB, free: 31.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.618, allocations: 1.991 MB / 0.7701 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.618, allocations: 2.469 kB / 0.7701 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.6184, allocations: 336.5 kB / 0.7705 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.6189, allocations: 59.77 kB / 0.7705 GB, free: 30.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.6363, allocations: 15.31 MB / 0.7855 GB, free: 25.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.6369, allocations: 0.9857 MB / 0.7864 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000207/0.6371, allocations: 42.42 kB / 0.7865 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.6374, allocations: 291.6 kB / 0.7868 GB, free: 24.94 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.6374, allocations: 0 / 0.7868 GB, free: 24.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/0.6978, allocations: 24.45 MB / 0.8106 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.8, allocations: 7.922 kB / 0.8106 GB, free: 10.27 MB / 0.5762 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.275957979029045] Failed to read output from testmodel.py, exit status != 0: 14.921206573024392 14.933587096 14.701170826 Calling exit ...