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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001637/0.001637, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8217/0.8217, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.44 kB / 0.5864 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1961, allocations: 80.92 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002691/0.1989, allocations: 1.437 MB / 0.6668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004463/0.2033, allocations: 2.876 MB / 0.6696 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.2034, allocations: 0 / 0.6696 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.2034, allocations: 3.938 kB / 0.6696 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.2036, allocations: 15.84 kB / 0.6696 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.2079, allocations: 1.589 MB / 0.6712 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.208, allocations: 43.73 kB / 0.6712 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.208, allocations: 3.984 kB / 0.6712 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.2081, allocations: 11.94 kB / 0.6712 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.2081, allocations: 19.88 kB / 0.6712 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2081, allocations: 4 kB / 0.6712 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.2104, allocations: 1.529 MB / 0.6727 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.2105, allocations: 4 kB / 0.6727 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.2105, allocations: 15.88 kB / 0.6727 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.2119, allocations: 1.103 MB / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2119, allocations: 0 / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2119, allocations: 0 / 0.6738 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.2119, allocations: 0 / 0.6738 GB, free: 13.09 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.0006114/0.2125, allocations: 0.5224 MB / 0.6743 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2126, allocations: 8.031 kB / 0.6743 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.2126, allocations: 80.12 kB / 0.6744 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2128, allocations: 251.6 kB / 0.6747 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.2129, allocations: 154.7 kB / 0.6748 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.213, allocations: 150.6 kB / 0.675 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.866e-05/0.213, allocations: 109 kB / 0.6751 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.2131, allocations: 79.27 kB / 0.6751 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.2131, allocations: 150.6 kB / 0.6753 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.2132, allocations: 158.4 kB / 0.6754 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.2133, allocations: 154.6 kB / 0.6756 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.2136, allocations: 469.9 kB / 0.676 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.2137, allocations: 169.1 kB / 0.6762 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.2137, allocations: 80.14 kB / 0.6763 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.2138, allocations: 79.22 kB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.2138, allocations: 113.8 kB / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2138, allocations: 0 / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.671e-05/0.2139, allocations: 37.59 kB / 0.6765 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.214, allocations: 126.7 kB / 0.6766 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2142, allocations: 131.2 kB / 0.6767 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2142, allocations: 25.7 kB / 0.6767 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.2142, allocations: 92.05 kB / 0.6768 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.2142, allocations: 0 / 0.6768 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.2143, allocations: 29.7 kB / 0.6769 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2144, allocations: 310.8 kB / 0.6772 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.2144, allocations: 8 kB / 0.6772 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.2145, allocations: 11.92 kB / 0.6772 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.2145, allocations: 16.8 kB / 0.6772 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2145, allocations: 0 / 0.6772 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001303/0.2146, allocations: 45.7 kB / 0.6772 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2147, allocations: 7.938 kB / 0.6772 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.2147, allocations: 4 kB / 0.6773 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2147, allocations: 4.062 kB / 0.6773 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-06/0.2147, allocations: 4.062 kB / 0.6773 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2147, allocations: 3.984 kB / 0.6773 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.2148, allocations: 7.906 kB / 0.6773 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2148, allocations: 0 / 0.6773 GB, free: 9.32 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.0001039/0.2149, allocations: 190.4 kB / 0.6775 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.2149, allocations: 108.9 kB / 0.6776 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.215, allocations: 120.6 kB / 0.6777 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-05/0.2151, allocations: 184.2 kB / 0.6778 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.554e-05/0.2152, allocations: 176.3 kB / 0.678 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/0.2152, allocations: 176.3 kB / 0.6782 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.2155, allocations: 421.1 kB / 0.6786 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/0.2155, allocations: 101 kB / 0.6787 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.2155, allocations: 116.9 kB / 0.6788 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.906e-05/0.2156, allocations: 176.3 kB / 0.679 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.2157, allocations: 176.3 kB / 0.6791 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.899e-05/0.2157, allocations: 180.2 kB / 0.6793 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/0.2158, allocations: 184.3 kB / 0.6795 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.2159, allocations: 315.6 kB / 0.6798 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.216, allocations: 185.9 kB / 0.68 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2161, allocations: 188.2 kB / 0.6801 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.2162, allocations: 109 kB / 0.6802 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.2163, allocations: 180.2 kB / 0.6804 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.2163, allocations: 105 kB / 0.6805 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.2164, allocations: 105.5 kB / 0.6806 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2164, allocations: 0 / 0.6806 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007687/0.2171, allocations: 275.8 kB / 0.6809 GB, free: 5.402 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.001082/0.2182, allocations: 0.5331 MB / 0.6814 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2184, allocations: 45.62 kB / 0.6814 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2184, allocations: 0 / 0.6814 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.2184, allocations: 0 / 0.6814 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.2188, allocations: 463.6 kB / 0.6819 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.2192, allocations: 265.7 kB / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2195, allocations: 0.6846 MB / 0.6828 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.2195, allocations: 11.44 kB / 0.6828 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2195, allocations: 0 / 0.6828 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.007954/0.2275, allocations: 4.733 MB / 0.6874 GB, free: 14.61 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)