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_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.0008/0.0008, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009289/0.0009289, allocations: 213.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9284/0.9284, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7858/0.7858, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009693/0.0009693, allocations: 74.94 kB / 0.7183 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4938, allocations: 102 MB / 0.8179 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002041/0.4959, allocations: 1.432 MB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005501/0.5014, allocations: 3.838 MB / 0.823 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.5015, allocations: 9 kB / 0.823 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.5017, allocations: 17.2 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.502, allocations: 27.88 kB / 0.8231 GB, free: 13.63 MB / 0.6198 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.005104/0.5071, allocations: 1.603 MB / 0.8246 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.5073, allocations: 88 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.5074, allocations: 2.078 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.5074, allocations: 51.72 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.5078, allocations: 152.1 kB / 0.8249 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.5078, allocations: 13.03 kB / 0.8249 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.5121, allocations: 2.392 MB / 0.8273 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.5124, allocations: 275.5 kB / 0.8275 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.5126, allocations: 223.8 kB / 0.8277 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004437/0.517, allocations: 2.138 MB / 0.8298 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.517, allocations: 0 / 0.8298 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.504e-06/0.517, allocations: 0 / 0.8298 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.517, allocations: 0 / 0.8298 GB, free: 11.49 MB / 0.6198 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.00575/0.5228, allocations: 1.27 MB / 0.8311 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5228, allocations: 13.03 kB / 0.8311 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.5229, allocations: 33.84 kB / 0.8311 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.5233, allocations: 90.34 kB / 0.8312 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.5236, allocations: 305.8 kB / 0.8315 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5237, allocations: 4.219 kB / 0.8315 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.5237, allocations: 9.109 kB / 0.8315 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.5242, allocations: 394.7 kB / 0.8319 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5242, allocations: 4 kB / 0.8319 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5242, allocations: 1.078 kB / 0.8319 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5242, allocations: 1.625 kB / 0.8319 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.5246, allocations: 431.8 kB / 0.8323 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.5252, allocations: 0.5963 MB / 0.8329 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.5257, allocations: 0.5636 MB / 0.8334 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.5261, allocations: 335.2 kB / 0.8337 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.5266, allocations: 134.5 kB / 0.8339 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.5271, allocations: 420.4 kB / 0.8343 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.5271, allocations: 0 / 0.8343 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001511/0.5286, allocations: 1.294 MB / 0.8355 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5286, allocations: 80.08 kB / 0.8356 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5298, allocations: 1.223 MB / 0.8368 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.5298, allocations: 36.05 kB / 0.8368 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.53, allocations: 269.5 kB / 0.8371 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.53, allocations: 18.8 kB / 0.8371 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.5303, allocations: 350.6 kB / 0.8375 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.5304, allocations: 316.2 kB / 0.8378 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.5315, allocations: 1.374 MB / 0.8391 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/0.5325, allocations: 1.504 MB / 0.8406 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005019/0.5375, allocations: 3.557 MB / 0.844 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.5375, allocations: 0 / 0.844 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004188/0.5417, allocations: 4.014 MB / 0.848 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5417, allocations: 9.781 kB / 0.848 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.5417, allocations: 2.406 kB / 0.848 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5417, allocations: 1.312 kB / 0.848 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.542, allocations: 15.89 kB / 0.848 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.542, allocations: 1.188 kB / 0.848 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.5425, allocations: 235.5 kB / 0.8482 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.5425, allocations: 26.67 kB / 0.8482 GB, free: 1.801 MB / 0.6198 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.000295/0.5428, allocations: 240.4 kB / 0.8485 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.5429, allocations: 85.03 kB / 0.8486 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/0.5437, allocations: 0.9384 MB / 0.8495 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.5437, allocations: 1.75 kB / 0.8495 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5437, allocations: 0 / 0.8495 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5437, allocations: 1.375 kB / 0.8495 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.5442, allocations: 466.6 kB / 0.8499 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5442, allocations: 3.938 kB / 0.8499 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.5442, allocations: 5.094 kB / 0.8499 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.5442, allocations: 9.141 kB / 0.8499 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5443, allocations: 2.875 kB / 0.8499 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5443, allocations: 0 / 0.8499 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5443, allocations: 1.469 kB / 0.8499 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.545, allocations: 0.9999 MB / 0.8509 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.5451, allocations: 89.47 kB / 0.851 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.5451, allocations: 2.188 kB / 0.851 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.5452, allocations: 6.25 kB / 0.851 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.5452, allocations: 11.98 kB / 0.851 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.5452, allocations: 15.62 kB / 0.851 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005947/0.5458, allocations: 0.6689 MB / 0.8517 GB, free: 312 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5458, allocations: 0 / 0.8517 GB, free: 312 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002474/0.5483, allocations: 0.5866 MB / 0.8523 GB, free: 176 kB / 0.6198 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.003159/0.5515, allocations: 2.163 MB / 0.8544 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.5533, allocations: 1.998 MB / 0.8563 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5533, allocations: 3.938 kB / 0.8563 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5535, allocations: 335.8 kB / 0.8566 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5538, allocations: 40.53 kB / 0.8567 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.566, allocations: 15.28 MB / 0.8716 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.5663, allocations: 372.1 kB / 0.872 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.5664, allocations: 40.41 kB / 0.872 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5667, allocations: 263.3 kB / 0.8723 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.603e-06/0.5667, allocations: 0 / 0.8723 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.6125, allocations: 25.15 MB / 0.8968 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/8.093, allocations: 7.484 kB / 0.8968 GB, free: 4.309 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.598604605998844] Failed to read output from testmodel.py, exit status != 0: 8.187770643737167 8.195316513 7.676480577 Calling exit ...