Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004592/0.004592, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 194.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 288.3 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 107.8 kB / 0.6815 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3915, allocations: 86.98 MB / 0.7665 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002127/0.3936, allocations: 1.358 MB / 0.7678 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3949, allocations: 0.7887 MB / 0.7685 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.3949, allocations: 0 / 0.7685 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3949, allocations: 3.938 kB / 0.7686 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.395, allocations: 7.922 kB / 0.7686 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.3955, allocations: 175.5 kB / 0.7687 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.3956, allocations: 59.78 kB / 0.7688 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3956, allocations: 0 / 0.7688 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.3957, allocations: 27.91 kB / 0.7688 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.3957, allocations: 23.92 kB / 0.7688 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3958, allocations: 4 kB / 0.7688 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.3961, allocations: 167.7 kB / 0.769 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3961, allocations: 19.91 kB / 0.769 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.3962, allocations: 19.92 kB / 0.769 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3964, allocations: 147.6 kB / 0.7692 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3964, allocations: 0 / 0.7692 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3964, allocations: 4 kB / 0.7692 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3964, allocations: 0 / 0.7692 GB, free: 1.133 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003813/0.3968, allocations: 375 kB / 0.7695 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.3968, allocations: 12.03 kB / 0.7696 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3969, allocations: 0.9375 kB / 0.7696 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.397, allocations: 172.3 kB / 0.7697 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.397, allocations: 384 / 0.7697 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.397, allocations: 4.375 kB / 0.7697 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3971, allocations: 57.97 kB / 0.7698 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3972, allocations: 4 kB / 0.7698 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3972, allocations: 4 kB / 0.7698 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3972, allocations: 0 / 0.7698 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3973, allocations: 47.95 kB / 0.7698 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3975, allocations: 165.7 kB / 0.77 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3976, allocations: 50.56 kB / 0.77 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.3976, allocations: 20.98 kB / 0.7701 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3977, allocations: 0 / 0.7701 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3977, allocations: 46.48 kB / 0.7701 GB, free: 32 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.3977, allocations: 0 / 0.7701 GB, free: 32 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002401/0.3979, allocations: 89.61 kB / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.398, allocations: 51.41 kB / 0.7702 GB, free: 15.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.3981, allocations: 109.8 kB / 0.7703 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.3981, allocations: 25.7 kB / 0.7704 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3981, allocations: 84.14 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3982, allocations: 27.78 kB / 0.7705 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.3982, allocations: 21.72 kB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.3983, allocations: 322.8 kB / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.3984, allocations: 8 kB / 0.7708 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.3984, allocations: 19.92 kB / 0.7708 GB, free: 15.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.3985, allocations: 29.23 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3985, allocations: 4 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000128/0.3986, allocations: 73.61 kB / 0.7709 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3987, allocations: 15.88 kB / 0.7709 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3987, allocations: 4 kB / 0.7709 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3987, allocations: 0 / 0.7709 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.3988, allocations: 19.98 kB / 0.771 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3988, allocations: 0 / 0.771 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.3988, allocations: 0 / 0.771 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3988, allocations: 4 kB / 0.771 GB, free: 15.08 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.87e-05/0.3989, allocations: 105.8 kB / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.3989, allocations: 11.89 kB / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.3993, allocations: 214 kB / 0.7713 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3994, allocations: 4 kB / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3994, allocations: 0 / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3994, allocations: 0 / 0.7713 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3995, allocations: 189.6 kB / 0.7715 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3995, allocations: 8 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3996, allocations: 31.92 kB / 0.7715 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3996, allocations: 4 kB / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3997, allocations: 0 / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3997, allocations: 0 / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3997, allocations: 4 kB / 0.7715 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3999, allocations: 156.1 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3999, allocations: 85.06 kB / 0.7717 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3999, allocations: 4 kB / 0.7717 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.4, allocations: 4 kB / 0.7718 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.4, allocations: 11.98 kB / 0.7718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.4, allocations: 4 kB / 0.7718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.4001, allocations: 87.27 kB / 0.7719 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4001, allocations: 4 kB / 0.7719 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002641/0.4003, allocations: 55.8 kB / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002789/0.4006, allocations: 171 kB / 0.7721 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4008, allocations: 59.84 kB / 0.7721 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4008, allocations: 4 kB / 0.7721 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.4009, allocations: 43.92 kB / 0.7722 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4011, allocations: 20.12 kB / 0.7722 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.4015, allocations: 173.5 kB / 0.7724 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4017, allocations: 0.6924 MB / 0.773 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.581e-05/0.4018, allocations: 19.39 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.4018, allocations: 27.42 kB / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4018, allocations: 0 / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004518/0.4064, allocations: 2.072 MB / 0.7751 GB, free: 10.77 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)