Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.01078/0.01077, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00162/0.001621, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8296/0.8296, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.91 kB / 0.5814 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1701, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002739/0.1729, allocations: 1.434 MB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.1772, allocations: 2.872 MB / 0.664 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1773, allocations: 0 / 0.664 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.1774, allocations: 3.938 kB / 0.664 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.1775, allocations: 23.8 kB / 0.664 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.1817, allocations: 1.58 MB / 0.6655 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.1818, allocations: 47.67 kB / 0.6656 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1818, allocations: 7.984 kB / 0.6656 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.1819, allocations: 19.92 kB / 0.6656 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.1819, allocations: 15.88 kB / 0.6656 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1819, allocations: 0 / 0.6656 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1842, allocations: 1.532 MB / 0.6671 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.1843, allocations: 7.938 kB / 0.6671 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1843, allocations: 23.81 kB / 0.6671 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1858, allocations: 1.096 MB / 0.6682 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1858, allocations: 0 / 0.6682 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1858, allocations: 0 / 0.6682 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1858, allocations: 0 / 0.6682 GB, free: 1.574 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.0005929/0.1864, allocations: 0.5147 MB / 0.6687 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1864, allocations: 8.031 kB / 0.6687 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.1865, allocations: 88.12 kB / 0.6688 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1867, allocations: 243.6 kB / 0.669 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.1867, allocations: 162.6 kB / 0.6692 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.1868, allocations: 154.5 kB / 0.6693 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.817e-05/0.1869, allocations: 101 kB / 0.6694 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.1869, allocations: 79.28 kB / 0.6695 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.187, allocations: 154.6 kB / 0.6697 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.1871, allocations: 150.6 kB / 0.6698 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.1871, allocations: 154.6 kB / 0.6699 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1874, allocations: 469.8 kB / 0.6704 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.1875, allocations: 177 kB / 0.6706 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.1876, allocations: 80.14 kB / 0.6706 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1876, allocations: 75.28 kB / 0.6707 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1876, allocations: 109.8 kB / 0.6708 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1876, allocations: 0 / 0.6708 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.285e-05/0.1877, allocations: 25.7 kB / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.1878, allocations: 138.6 kB / 0.671 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1879, allocations: 139.6 kB / 0.6711 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1879, allocations: 25.7 kB / 0.6711 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.188, allocations: 92.14 kB / 0.6712 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.188, allocations: 0 / 0.6712 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.188, allocations: 13.72 kB / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1882, allocations: 318.8 kB / 0.6715 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.1882, allocations: 8 kB / 0.6715 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.1882, allocations: 8.062 kB / 0.6715 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.1883, allocations: 20.8 kB / 0.6716 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1883, allocations: 0 / 0.6716 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001215/0.1884, allocations: 53.62 kB / 0.6716 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1884, allocations: 8 kB / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.1884, allocations: 0 / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1885, allocations: 4 kB / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1885, allocations: 0 / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1885, allocations: 0 / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1885, allocations: 7.969 kB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1885, allocations: 3.938 kB / 0.6716 GB, free: 13.82 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.000102/0.1886, allocations: 197.1 kB / 0.6718 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1887, allocations: 104.9 kB / 0.6719 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1888, allocations: 116.6 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/0.1888, allocations: 184.2 kB / 0.6722 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/0.1889, allocations: 184.3 kB / 0.6724 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.53e-05/0.189, allocations: 184.2 kB / 0.6726 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1892, allocations: 409.2 kB / 0.673 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/0.1892, allocations: 112.9 kB / 0.6731 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1893, allocations: 101 kB / 0.6732 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.8e-05/0.1894, allocations: 180.2 kB / 0.6733 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.1894, allocations: 184.2 kB / 0.6735 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-05/0.1895, allocations: 180.3 kB / 0.6737 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-05/0.1896, allocations: 180.2 kB / 0.6739 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1897, allocations: 311.7 kB / 0.6742 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.1898, allocations: 190 kB / 0.6743 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.1899, allocations: 176.3 kB / 0.6745 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.19, allocations: 116.9 kB / 0.6746 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.19, allocations: 184.3 kB / 0.6748 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.1901, allocations: 108.9 kB / 0.6749 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.1902, allocations: 97.3 kB / 0.675 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1902, allocations: 4 kB / 0.675 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000762/0.1909, allocations: 283.8 kB / 0.6753 GB, free: 9.883 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.001158/0.1921, allocations: 0.5292 MB / 0.6758 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1922, allocations: 37.7 kB / 0.6758 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1922, allocations: 4.062 kB / 0.6758 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.1922, allocations: 0 / 0.6758 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1926, allocations: 463.6 kB / 0.6763 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.193, allocations: 237.9 kB / 0.6765 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1933, allocations: 0.6884 MB / 0.6772 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.1933, allocations: 0 / 0.6772 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.1934, allocations: 11.44 kB / 0.6772 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1934, allocations: 0 / 0.6772 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of Templates: time 0.0106/0.204, allocations: 5.603 MB / 0.6826 GB, free: 2.305 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)