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.001433/0.001433, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001489/0.001489, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.412/1.412, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9315/0.9315, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.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="cs",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="cs",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.001904/0.001904, allocations: 62.91 kB / 0.6369 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1529, allocations: 89.14 MB / 0.7239 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003186/0.1561, allocations: 1.77 MB / 0.7256 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008338/0.1644, allocations: 5.44 MB / 0.731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1646, allocations: 3.938 kB / 0.731 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.1659, allocations: 374.4 kB / 0.7313 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.166, allocations: 55.73 kB / 0.7314 GB, free: 12.32 MB / 0.545 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.003984/0.17, allocations: 1.519 MB / 0.7329 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.1703, allocations: 163.4 kB / 0.733 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1704, allocations: 9.562 kB / 0.733 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.1704, allocations: 67.7 kB / 0.7331 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1707, allocations: 171.4 kB / 0.7333 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1707, allocations: 12 kB / 0.7333 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.1745, allocations: 2.328 MB / 0.7355 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.1747, allocations: 283.8 kB / 0.7358 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.175, allocations: 306.1 kB / 0.7361 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.178, allocations: 2.204 MB / 0.7383 GB, free: 5.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.178, allocations: 0 / 0.7383 GB, free: 5.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.178, allocations: 0 / 0.7383 GB, free: 5.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.178, allocations: 4 kB / 0.7383 GB, free: 5.258 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.01016/0.1882, allocations: 1.406 MB / 0.7396 GB, free: 3.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1883, allocations: 12.03 kB / 0.7396 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.1883, allocations: 8.172 kB / 0.7396 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1883, allocations: 38.69 kB / 0.7397 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.1887, allocations: 104.1 kB / 0.7398 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.1893, allocations: 410.3 kB / 0.7402 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1893, allocations: 3.938 kB / 0.7402 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.1893, allocations: 15.94 kB / 0.7402 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.1898, allocations: 395.2 kB / 0.7406 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1898, allocations: 0 / 0.7406 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1898, allocations: 0 / 0.7406 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1898, allocations: 3.938 kB / 0.7406 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.1903, allocations: 435.7 kB / 0.741 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.1909, allocations: 0.6737 MB / 0.7416 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1915, allocations: 0.5594 MB / 0.7422 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1918, allocations: 337.7 kB / 0.7425 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.1929, allocations: 1.028 MB / 0.7435 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.1933, allocations: 396.9 kB / 0.7439 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.1933, allocations: 0 / 0.7439 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001421/0.1948, allocations: 1.313 MB / 0.7452 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1948, allocations: 81.11 kB / 0.7453 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.1962, allocations: 1.294 MB / 0.7465 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.1962, allocations: 33.64 kB / 0.7466 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1964, allocations: 285.9 kB / 0.7468 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1965, allocations: 23.84 kB / 0.7469 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.1968, allocations: 355.8 kB / 0.7472 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.197, allocations: 325.9 kB / 0.7475 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.1983, allocations: 1.369 MB / 0.7488 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.1997, allocations: 1.501 MB / 0.7503 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007077/0.2068, allocations: 3.557 MB / 0.7538 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2068, allocations: 4 kB / 0.7538 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004584/0.2113, allocations: 4.019 MB / 0.7577 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2114, allocations: 9.562 kB / 0.7577 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.2114, allocations: 0 / 0.7577 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2114, allocations: 4 kB / 0.7577 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.2116, allocations: 24.02 kB / 0.7577 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2116, allocations: 3.938 kB / 0.7577 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.2121, allocations: 237.3 kB / 0.758 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.2121, allocations: 27.97 kB / 0.758 GB, free: 412 kB / 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.000329/0.2125, allocations: 252.1 kB / 0.7582 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.2125, allocations: 75.3 kB / 0.7583 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.2128, allocations: 87.75 kB / 0.7584 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2129, allocations: 4 kB / 0.7584 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2129, allocations: 0 / 0.7584 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2129, allocations: 0 / 0.7584 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.2134, allocations: 0.514 MB / 0.7589 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2134, allocations: 0 / 0.7589 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.2134, allocations: 7.984 kB / 0.7589 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2134, allocations: 4 kB / 0.7589 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2134, allocations: 3.938 kB / 0.7589 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2134, allocations: 0 / 0.7589 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2134, allocations: 4.031 kB / 0.7589 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.2144, allocations: 1.03 MB / 0.7599 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2146, allocations: 160.4 kB / 0.7601 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.2146, allocations: 0 / 0.7601 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.2148, allocations: 11.98 kB / 0.7601 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.2148, allocations: 8 kB / 0.7601 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.2149, allocations: 15.97 kB / 0.7601 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000813/0.2157, allocations: 0.7183 MB / 0.7608 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2157, allocations: 0 / 0.7608 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001501/0.2172, allocations: 0.5962 MB / 0.7614 GB, free: 12.81 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.00331/0.2205, allocations: 2.168 MB / 0.7635 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.2227, allocations: 2.001 MB / 0.7655 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2227, allocations: 0 / 0.7655 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.223, allocations: 327.8 kB / 0.7658 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.2235, allocations: 58.98 kB / 0.7658 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.2397, allocations: 15.3 MB / 0.7808 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.2403, allocations: 0.9918 MB / 0.7817 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.2405, allocations: 41.39 kB / 0.7818 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.2408, allocations: 287.3 kB / 0.7821 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.2408, allocations: 0 / 0.7821 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.2903, allocations: 24.41 MB / 0.8059 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.55, allocations: 17.16 kB / 0.8059 GB, free: 15.25 MB / 0.6231 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 14.204574145027436] Failed to read output from testmodel.py, exit status != 0: 10.699399244971573 10.720392465 10.538539534 Calling exit ...