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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.001339/0.001339, allocations: 187 kB / 17.34 MB, free: 5.719 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8472/0.8472, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.48 kB / 0.5864 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 80.92 MB / 0.6654 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003215/0.181, allocations: 1.441 MB / 0.6668 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004928/0.186, allocations: 2.88 MB / 0.6696 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1861, allocations: 0 / 0.6696 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1861, allocations: 3.938 kB / 0.6696 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.1862, allocations: 15.84 kB / 0.6696 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004689/0.1909, allocations: 1.573 MB / 0.6712 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.191, allocations: 47.67 kB / 0.6712 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.1911, allocations: 0 / 0.6712 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.1911, allocations: 15.92 kB / 0.6712 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.1912, allocations: 23.88 kB / 0.6712 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1912, allocations: 4 kB / 0.6712 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.194, allocations: 1.529 MB / 0.6727 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.194, allocations: 0 / 0.6727 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.1941, allocations: 19.88 kB / 0.6727 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.1962, allocations: 1.099 MB / 0.6738 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1962, allocations: 3.938 kB / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1962, allocations: 0 / 0.6738 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.1963, allocations: 0 / 0.6738 GB, free: 13.1 MB / 0.5137 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.0008577/0.1971, allocations: 0.5147 MB / 0.6743 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1972, allocations: 8.031 kB / 0.6743 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.1972, allocations: 84.12 kB / 0.6744 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1974, allocations: 245.1 kB / 0.6747 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.1975, allocations: 162.6 kB / 0.6748 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.1976, allocations: 154.5 kB / 0.675 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.452e-05/0.1976, allocations: 105 kB / 0.6751 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.1977, allocations: 75.28 kB / 0.6751 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.1977, allocations: 154.5 kB / 0.6753 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.1978, allocations: 150.6 kB / 0.6754 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.1978, allocations: 158.5 kB / 0.6756 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1982, allocations: 469.9 kB / 0.676 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/0.1983, allocations: 169.1 kB / 0.6762 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.1983, allocations: 84.14 kB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1984, allocations: 75.28 kB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.1984, allocations: 109.8 kB / 0.6764 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.1984, allocations: 4 kB / 0.6764 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.152e-05/0.1985, allocations: 33.61 kB / 0.6765 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1986, allocations: 126.7 kB / 0.6766 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1987, allocations: 139.5 kB / 0.6767 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1988, allocations: 25.7 kB / 0.6767 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1988, allocations: 88.05 kB / 0.6768 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-06/0.1988, allocations: 3.984 kB / 0.6768 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.1989, allocations: 21.72 kB / 0.6769 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.199, allocations: 322.8 kB / 0.6772 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.199, allocations: 4 kB / 0.6772 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.1991, allocations: 4 kB / 0.6772 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.1991, allocations: 24.8 kB / 0.6772 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1991, allocations: 0 / 0.6772 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001422/0.1993, allocations: 49.69 kB / 0.6772 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1993, allocations: 4 kB / 0.6772 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.1993, allocations: 4 kB / 0.6773 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1993, allocations: 4.047 kB / 0.6773 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1994, allocations: 4 kB / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1994, allocations: 0 / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.1994, allocations: 7.906 kB / 0.6773 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1994, allocations: 0 / 0.6773 GB, free: 9.344 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 0.000109/0.1995, allocations: 194.4 kB / 0.6775 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.1996, allocations: 112.9 kB / 0.6776 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.1997, allocations: 112.6 kB / 0.6777 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.1997, allocations: 188.1 kB / 0.6778 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-05/0.1998, allocations: 176.3 kB / 0.678 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/0.1999, allocations: 184.2 kB / 0.6782 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2001, allocations: 417.1 kB / 0.6786 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.2002, allocations: 101 kB / 0.6787 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.2002, allocations: 112.9 kB / 0.6788 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-05/0.2003, allocations: 176.3 kB / 0.679 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.2004, allocations: 184.2 kB / 0.6791 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-05/0.2004, allocations: 180.2 kB / 0.6793 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.516e-05/0.2005, allocations: 180.3 kB / 0.6795 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.2007, allocations: 323.5 kB / 0.6798 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.2007, allocations: 182 kB / 0.68 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2008, allocations: 184.2 kB / 0.6801 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.2009, allocations: 109 kB / 0.6802 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.201, allocations: 180.2 kB / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.201, allocations: 113 kB / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.2011, allocations: 101.3 kB / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009394/0.202, allocations: 279.8 kB / 0.6809 GB, free: 5.41 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.0014/0.2035, allocations: 0.5316 MB / 0.6814 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.2036, allocations: 37.7 kB / 0.6814 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2036, allocations: 3.938 kB / 0.6814 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.2036, allocations: 0 / 0.6814 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.204, allocations: 467.6 kB / 0.6819 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.2044, allocations: 261.8 kB / 0.6821 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2047, allocations: 0.6884 MB / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.2047, allocations: 7.438 kB / 0.6828 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.2047, allocations: 0 / 0.6828 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of Templates: time 0.009188/0.2139, allocations: 4.728 MB / 0.6874 GB, free: 14.62 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)