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.0008543/0.0008543, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0008043/0.0008043, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8886/0.8886, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5484/0.5484, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 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: 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 1.533e-06/1.533e-06, allocations: 0 / 0.5555 GB, free: 1.137 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.138e-05, allocations: 2.281 kB / 0.5555 GB, free: 1.133 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001901/0.001922, allocations: 1.724 MB / 0.5572 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.006912, allocations: 4.906 MB / 0.562 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.006976, allocations: 0 / 0.562 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008009/0.007776, allocations: 342.3 kB / 0.5623 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.007841, allocations: 63.62 kB / 0.5624 GB, free: 10.08 MB / 490.7 MB [/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.001987/0.009828, allocations: 1.596 MB / 0.5639 GB, free: 8.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.01, allocations: 175.2 kB / 0.5641 GB, free: 8.309 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.01004, allocations: 9.797 kB / 0.5641 GB, free: 8.301 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.01012, allocations: 83.78 kB / 0.5642 GB, free: 8.219 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.01028, allocations: 147.6 kB / 0.5643 GB, free: 8.074 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.0103, allocations: 16 kB / 0.5643 GB, free: 8.059 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.01231, allocations: 2.402 MB / 0.5667 GB, free: 5.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.01246, allocations: 283.9 kB / 0.5669 GB, free: 5.371 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.01258, allocations: 168 kB / 0.5671 GB, free: 5.207 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.01471, allocations: 2.522 MB / 0.5696 GB, free: 2.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01471, allocations: 0 / 0.5696 GB, free: 2.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01471, allocations: 0 / 0.5696 GB, free: 2.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01472, allocations: 7.938 kB / 0.5696 GB, free: 2.672 MB / 490.7 MB 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.004035/0.01875, allocations: 1.331 MB / 0.5709 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01879, allocations: 8.625 kB / 0.5709 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.01903, allocations: 100.2 kB / 0.571 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.01939, allocations: 351.7 kB / 0.5713 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.0194, allocations: 8.359 kB / 0.5713 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.01943, allocations: 8.375 kB / 0.5713 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.01972, allocations: 391.3 kB / 0.5717 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.01973, allocations: 0 / 0.5717 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.01974, allocations: 0 / 0.5717 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01975, allocations: 4 kB / 0.5717 GB, free: 416 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.02003, allocations: 439.7 kB / 0.5721 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.02042, allocations: 0.5975 MB / 0.5727 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.02076, allocations: 0.5595 MB / 0.5733 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.02095, allocations: 329.6 kB / 0.5736 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.02129, allocations: 135.9 kB / 0.5737 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.02156, allocations: 420.7 kB / 0.5741 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.02156, allocations: 0 / 0.5741 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.00102/0.02258, allocations: 1.297 MB / 0.5754 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.02262, allocations: 85.11 kB / 0.5755 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.02341, allocations: 1.306 MB / 0.5767 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.02343, allocations: 29.69 kB / 0.5768 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.02358, allocations: 289.9 kB / 0.577 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.02361, allocations: 15.91 kB / 0.577 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.02381, allocations: 339.6 kB / 0.5774 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.02388, allocations: 318 kB / 0.5777 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/0.02463, allocations: 1.369 MB / 0.579 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.02545, allocations: 1.513 MB / 0.5805 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/0.03002, allocations: 3.557 MB / 0.584 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.03002, allocations: 0 / 0.584 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002761/0.03278, allocations: 4.019 MB / 0.5879 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.0328, allocations: 7.938 kB / 0.5879 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.03282, allocations: 4 kB / 0.5879 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.03283, allocations: 4.031 kB / 0.5879 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.03291, allocations: 19.92 kB / 0.5879 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.03292, allocations: 4 kB / 0.5879 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.03318, allocations: 241.3 kB / 0.5882 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.03321, allocations: 27.92 kB / 0.5882 GB, free: 15.27 MB / 0.5105 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.0002082/0.03342, allocations: 245.7 kB / 0.5884 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.03347, allocations: 83.19 kB / 0.5885 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.03425, allocations: 0.9446 MB / 0.5894 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.03426, allocations: 8 kB / 0.5894 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.03426, allocations: 3.984 kB / 0.5894 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.03427, allocations: 0 / 0.5894 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.03455, allocations: 464.4 kB / 0.5899 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.03455, allocations: 4 kB / 0.5899 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.03459, allocations: 7.984 kB / 0.5899 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.03459, allocations: 0 / 0.5899 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.0346, allocations: 7.938 kB / 0.5899 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03461, allocations: 4.031 kB / 0.5899 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03461, allocations: 0 / 0.5899 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.0352, allocations: 1.01 MB / 0.5909 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.03526, allocations: 91.19 kB / 0.591 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.0353, allocations: 7.938 kB / 0.591 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.03537, allocations: 7.984 kB / 0.591 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.0354, allocations: 4 kB / 0.591 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.03543, allocations: 19.97 kB / 0.591 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005315/0.03596, allocations: 0.7183 MB / 0.5917 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.03596, allocations: 3.938 kB / 0.5917 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001121/0.03709, allocations: 0.5962 MB / 0.5923 GB, free: 10.98 MB / 0.5105 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.001319/0.0384, allocations: 0.784 MB / 0.5931 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.03963, allocations: 2.001 MB / 0.595 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03964, allocations: 0 / 0.595 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.03984, allocations: 335.7 kB / 0.5953 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.04011, allocations: 68.62 kB / 0.5954 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.04176, allocations: 1.915 MB / 0.5973 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.04198, allocations: 393.8 kB / 0.5976 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.04205, allocations: 36.47 kB / 0.5977 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.04205, allocations: 0 / 0.5977 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.0138/0.05585, allocations: 15.08 MB / 0.6124 GB, free: 6.348 MB / 0.5261 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: 8.28894722275436] Failed to read output from testmodel.py, exit status != 0: 0.06161501072347164 0.06910208000000001 0.052867149 Calling exit ...