Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.009203/0.009203, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.002135/0.002135, allocations: 192.1 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8477/0.8477, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 60.42 kB / 0.5814 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1904, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002901/0.1933, allocations: 1.433 MB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.1984, allocations: 2.876 MB / 0.664 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.1985, allocations: 0 / 0.664 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1986, allocations: 7.938 kB / 0.664 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.1987, allocations: 15.86 kB / 0.664 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005011/0.2037, allocations: 1.568 MB / 0.6655 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2038, allocations: 47.67 kB / 0.6656 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.2039, allocations: 11.97 kB / 0.6656 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.2039, allocations: 11.94 kB / 0.6656 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.204, allocations: 19.86 kB / 0.6656 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.204, allocations: 0 / 0.6656 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.2068, allocations: 1.529 MB / 0.6671 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2068, allocations: 15.92 kB / 0.6671 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.2069, allocations: 15.88 kB / 0.6671 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.2092, allocations: 1.092 MB / 0.6682 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2092, allocations: 0 / 0.6682 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.499e-06/0.2092, allocations: 0 / 0.6682 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2092, allocations: 3.938 kB / 0.6682 GB, free: 4.82 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.0009388/0.2102, allocations: 0.5147 MB / 0.6687 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2103, allocations: 12.75 kB / 0.6687 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.2103, allocations: 84.12 kB / 0.6688 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.2105, allocations: 247.6 kB / 0.669 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.2106, allocations: 154.7 kB / 0.6692 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.2107, allocations: 154.6 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.2108, allocations: 101 kB / 0.6694 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.2108, allocations: 91.2 kB / 0.6695 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.2109, allocations: 154.5 kB / 0.6696 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.2109, allocations: 150.6 kB / 0.6698 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.211, allocations: 150.6 kB / 0.6699 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.2114, allocations: 465.9 kB / 0.6704 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2115, allocations: 173.1 kB / 0.6705 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.2115, allocations: 84.08 kB / 0.6706 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2116, allocations: 75.28 kB / 0.6707 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.904e-05/0.2116, allocations: 113.8 kB / 0.6708 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.2116, allocations: 0 / 0.6708 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.474e-05/0.2117, allocations: 37.59 kB / 0.6708 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.2119, allocations: 130.7 kB / 0.671 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.212, allocations: 127.7 kB / 0.6711 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2121, allocations: 29.7 kB / 0.6711 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.2121, allocations: 96.03 kB / 0.6712 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.2121, allocations: 0 / 0.6712 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.2122, allocations: 17.72 kB / 0.6712 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2123, allocations: 314.8 kB / 0.6715 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.2123, allocations: 12 kB / 0.6715 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.2124, allocations: 7.938 kB / 0.6715 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.2124, allocations: 20.8 kB / 0.6716 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2124, allocations: 0 / 0.6716 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001501/0.2126, allocations: 49.75 kB / 0.6716 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2126, allocations: 8 kB / 0.6716 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.2126, allocations: 0 / 0.6716 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2126, allocations: 4 kB / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.2126, allocations: 0 / 0.6716 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2127, allocations: 4.062 kB / 0.6716 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.2127, allocations: 3.906 kB / 0.6716 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2127, allocations: 3.938 kB / 0.6716 GB, free: 1.059 MB / 0.4981 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.0001015/0.2128, allocations: 197 kB / 0.6718 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.2129, allocations: 109 kB / 0.6719 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.2129, allocations: 112.6 kB / 0.672 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.538e-05/0.213, allocations: 180.2 kB / 0.6722 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.506e-05/0.2131, allocations: 184.3 kB / 0.6724 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.644e-05/0.2132, allocations: 176.3 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2134, allocations: 425 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/0.2135, allocations: 105 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.2135, allocations: 104.9 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.2136, allocations: 180.3 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.2136, allocations: 184.2 kB / 0.6735 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-05/0.2137, allocations: 180.3 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.35e-05/0.2138, allocations: 180.3 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.2139, allocations: 311.6 kB / 0.6741 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.214, allocations: 193.9 kB / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.2141, allocations: 180.3 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.2142, allocations: 105 kB / 0.6746 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.2143, allocations: 184.2 kB / 0.6748 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2143, allocations: 101 kB / 0.6749 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.2144, allocations: 109.3 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2144, allocations: 0 / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008575/0.2153, allocations: 279.8 kB / 0.6752 GB, free: 13.13 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.001369/0.2166, allocations: 0.5283 MB / 0.6758 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.2168, allocations: 45.64 kB / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2168, allocations: 0 / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.2168, allocations: 0 / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.2172, allocations: 475.2 kB / 0.6763 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.2176, allocations: 240 kB / 0.6765 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2179, allocations: 0.6807 MB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.2179, allocations: 0 / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.2179, allocations: 7.438 kB / 0.6772 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2179, allocations: 4 kB / 0.6772 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.0104/0.2283, allocations: 5.593 MB / 0.6826 GB, free: 5.562 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)