Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001287/0.001287, allocations: 111.2 kB / 18.89 MB, free: 2.875 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.001372/0.001372, allocations: 200.7 kB / 22.17 MB, free: 5.188 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.397/1.397, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 175.8 MB / 481.9 MB, free: 7.68 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.81 kB / 0.6706 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5945, allocations: 94.54 MB / 0.7629 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003566/0.5981, allocations: 1.781 MB / 0.7646 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008667/0.6067, allocations: 5.464 MB / 0.77 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.6069, allocations: 1.812 kB / 0.77 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.6086, allocations: 374.4 kB / 0.7703 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.6087, allocations: 60.69 kB / 0.7704 GB, free: 5.441 MB / 0.5762 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/IDEAS 3.0.0-master/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.0047/0.6134, allocations: 1.605 MB / 0.7719 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.6137, allocations: 157.9 kB / 0.7721 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.6138, allocations: 11.23 kB / 0.7721 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.6139, allocations: 56.12 kB / 0.7722 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.6141, allocations: 174.5 kB / 0.7723 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.6142, allocations: 14.84 kB / 0.7723 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.6195, allocations: 2.611 MB / 0.7749 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.6198, allocations: 282.2 kB / 0.7752 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.6201, allocations: 304.9 kB / 0.7754 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.6249, allocations: 2.223 MB / 0.7776 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6249, allocations: 0 / 0.7776 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6249, allocations: 3.156 kB / 0.7776 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.6249, allocations: 4 kB / 0.7776 GB, free: 2.945 MB / 0.5762 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.01091/0.6358, allocations: 1.404 MB / 0.779 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6359, allocations: 10.8 kB / 0.779 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.6363, allocations: 102 kB / 0.7791 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.6369, allocations: 407.8 kB / 0.7795 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.637, allocations: 10.28 kB / 0.7795 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.637, allocations: 17.16 kB / 0.7795 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.6375, allocations: 396 kB / 0.7799 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6375, allocations: 0 / 0.7799 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.6375, allocations: 3.125 kB / 0.7799 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6375, allocations: 0 / 0.7799 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.638, allocations: 437.2 kB / 0.7803 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.6387, allocations: 0.6743 MB / 0.781 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.6392, allocations: 0.565 MB / 0.7815 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.6396, allocations: 334.7 kB / 0.7818 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/0.6405, allocations: 1.032 MB / 0.7829 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.6409, allocations: 399.8 kB / 0.7832 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.6409, allocations: 4 kB / 0.7832 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001621/0.6426, allocations: 1.302 MB / 0.7845 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.6426, allocations: 81.08 kB / 0.7846 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.6447, allocations: 1.297 MB / 0.7859 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.6447, allocations: 36.3 kB / 0.7859 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.645, allocations: 290.8 kB / 0.7862 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.6451, allocations: 20.86 kB / 0.7862 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006231/0.6457, allocations: 355.1 kB / 0.7865 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6459, allocations: 321.9 kB / 0.7868 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.6476, allocations: 1.371 MB / 0.7882 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.6494, allocations: 1.504 MB / 0.7896 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007944/0.6573, allocations: 3.565 MB / 0.7931 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.6573, allocations: 3.938 kB / 0.7931 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005138/0.6625, allocations: 4.015 MB / 0.797 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6625, allocations: 6.609 kB / 0.7971 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.6625, allocations: 2.922 kB / 0.7971 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6625, allocations: 5.688 kB / 0.7971 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6627, allocations: 19.08 kB / 0.7971 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6627, allocations: 0 / 0.7971 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/0.6634, allocations: 237.6 kB / 0.7973 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.6635, allocations: 27.77 kB / 0.7973 GB, free: 9.324 MB / 0.5919 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.0004133/0.6639, allocations: 252.1 kB / 0.7976 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.664, allocations: 76.38 kB / 0.7976 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.6652, allocations: 0.9532 MB / 0.7986 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6652, allocations: 0.8438 kB / 0.7986 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6652, allocations: 1.594 kB / 0.7986 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6652, allocations: 0.5625 kB / 0.7986 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.6658, allocations: 0.5207 MB / 0.7991 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6658, allocations: 1.438 kB / 0.7991 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.6659, allocations: 7.656 kB / 0.7991 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6659, allocations: 5.156 kB / 0.7991 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6659, allocations: 4.5 kB / 0.7991 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6659, allocations: 0.6562 kB / 0.7991 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6659, allocations: 1.5 kB / 0.7991 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6671, allocations: 1.015 MB / 0.8001 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.6672, allocations: 169.6 kB / 0.8003 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.6673, allocations: 3.156 kB / 0.8003 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.6675, allocations: 8.906 kB / 0.8003 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.6675, allocations: 9.078 kB / 0.8003 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.6675, allocations: 14.19 kB / 0.8003 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009846/0.6685, allocations: 0.7225 MB / 0.801 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6685, allocations: 0 / 0.801 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002443/0.671, allocations: 0.5943 MB / 0.8016 GB, free: 8.078 MB / 0.5919 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.001976/0.6729, allocations: 0.6959 MB / 0.8023 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.6754, allocations: 1.999 MB / 0.8042 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6754, allocations: 0 / 0.8042 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.6758, allocations: 333.7 kB / 0.8045 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.6763, allocations: 70.91 kB / 0.8046 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.679, allocations: 1.934 MB / 0.8065 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.6797, allocations: 0.9854 MB / 0.8074 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.6799, allocations: 38.19 kB / 0.8075 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.6799, allocations: 4 kB / 0.8075 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of Templates: time 0.02684/0.7067, allocations: 14.58 MB / 0.8217 GB, free: 9.855 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.961359606997576] Failed to read output from testmodel.py, exit status != 0: 0.7155092519969912 0.728662951 0.100761523 Calling exit ...