Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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/IDEAS 3.0.0-master/package.mo", uses=false) 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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006577/0.006577, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001349/0.001349, allocations: 187 kB / 16.67 MB, free: 5.926 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9752/0.9752, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.5857 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4814, allocations: 80.91 MB / 0.6647 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002559/0.484, allocations: 1.433 MB / 0.6661 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.488, allocations: 2.832 MB / 0.6689 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.488, allocations: 0 / 0.6689 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.4881, allocations: 7.938 kB / 0.6689 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.4881, allocations: 18.44 kB / 0.6689 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.4923, allocations: 1.548 MB / 0.6704 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4924, allocations: 45.34 kB / 0.6705 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.4925, allocations: 2.5 kB / 0.6705 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.4925, allocations: 10.72 kB / 0.6705 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.4926, allocations: 23.58 kB / 0.6705 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4926, allocations: 1.344 kB / 0.6705 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.4948, allocations: 1.478 MB / 0.6719 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.4948, allocations: 9.828 kB / 0.6719 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.4948, allocations: 19.66 kB / 0.672 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.4962, allocations: 1.074 MB / 0.673 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4962, allocations: 1.062 kB / 0.673 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4962, allocations: 0 / 0.673 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4962, allocations: 0 / 0.673 GB, free: 1.707 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004955/0.4967, allocations: 0.5267 MB / 0.6735 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4967, allocations: 8.469 kB / 0.6735 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.4968, allocations: 83.44 kB / 0.6736 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.4969, allocations: 254 kB / 0.6739 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4969, allocations: 154.7 kB / 0.674 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.497, allocations: 151.6 kB / 0.6742 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.302e-05/0.497, allocations: 104.9 kB / 0.6743 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.497, allocations: 76.28 kB / 0.6743 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.4971, allocations: 154.6 kB / 0.6745 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.4971, allocations: 159.5 kB / 0.6746 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.4972, allocations: 150.6 kB / 0.6748 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.4975, allocations: 469.6 kB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.4976, allocations: 178.1 kB / 0.6754 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.4976, allocations: 81.27 kB / 0.6755 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4976, allocations: 79.22 kB / 0.6755 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.4977, allocations: 106.9 kB / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4977, allocations: 0 / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/0.4978, allocations: 28.02 kB / 0.6757 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.4978, allocations: 135.7 kB / 0.6758 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.498, allocations: 134.4 kB / 0.6759 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.498, allocations: 25.7 kB / 0.676 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4981, allocations: 90.94 kB / 0.676 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.4981, allocations: 0 / 0.676 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.4981, allocations: 19.53 kB / 0.6761 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4982, allocations: 310.8 kB / 0.6764 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.4983, allocations: 10.95 kB / 0.6764 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.4983, allocations: 11.19 kB / 0.6764 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.4983, allocations: 18.39 kB / 0.6764 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4983, allocations: 0 / 0.6764 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.4985, allocations: 43.08 kB / 0.6764 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4985, allocations: 12.33 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4985, allocations: 1.656 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4985, allocations: 1.75 kB / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.4985, allocations: 0 / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4986, allocations: 0 / 0.6764 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.4986, allocations: 5.641 kB / 0.6765 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4986, allocations: 4 kB / 0.6765 GB, free: 14.11 MB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.528e-05/0.4987, allocations: 189.7 kB / 0.6766 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.4988, allocations: 118.6 kB / 0.6767 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.4988, allocations: 110.6 kB / 0.6769 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.948e-05/0.4989, allocations: 181.6 kB / 0.677 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-05/0.499, allocations: 185.5 kB / 0.6772 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.901e-05/0.4991, allocations: 178 kB / 0.6774 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.4993, allocations: 422.1 kB / 0.6778 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.4993, allocations: 106.6 kB / 0.6779 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.4994, allocations: 106.6 kB / 0.678 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-05/0.4995, allocations: 176.3 kB / 0.6781 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.4995, allocations: 182 kB / 0.6783 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.541e-05/0.4996, allocations: 188.1 kB / 0.6785 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.985e-05/0.4997, allocations: 181.9 kB / 0.6787 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.4998, allocations: 304.8 kB / 0.679 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.4999, allocations: 191.6 kB / 0.6791 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.5, allocations: 186 kB / 0.6793 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.5001, allocations: 102.7 kB / 0.6794 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.5002, allocations: 184.1 kB / 0.6796 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.5002, allocations: 102.6 kB / 0.6797 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.5003, allocations: 99.33 kB / 0.6798 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5003, allocations: 4 kB / 0.6798 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007659/0.5011, allocations: 281 kB / 0.6801 GB, free: 10.42 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.001074/0.5021, allocations: 0.5164 MB / 0.6806 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5022, allocations: 44.36 kB / 0.6806 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5023, allocations: 1.125 kB / 0.6806 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.5023, allocations: 0 / 0.6806 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5027, allocations: 471.6 kB / 0.6811 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.503, allocations: 234.9 kB / 0.6813 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5033, allocations: 0.6848 MB / 0.682 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.5033, allocations: 0 / 0.682 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.5033, allocations: 9.875 kB / 0.682 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.5033, allocations: 0 / 0.682 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of Templates: time 0.00956/0.5129, allocations: 5.428 MB / 0.6873 GB, free: 5.91 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)