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.007759/0.007758, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.00159/0.001591, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.463/1.463, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.81 kB / 0.5054 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1962, allocations: 80.94 MB / 0.5844 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002804/0.1991, allocations: 1.496 MB / 0.5859 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.2036, allocations: 2.994 MB / 0.5888 GB, free: 416 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.2037, allocations: 0 / 0.5888 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.2038, allocations: 7.922 kB / 0.5888 GB, free: 408 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.2039, allocations: 7.938 kB / 0.5888 GB, free: 400 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.2076, allocations: 1.383 MB / 0.5902 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.2077, allocations: 39.73 kB / 0.5902 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.2078, allocations: 7.984 kB / 0.5902 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.2078, allocations: 19.92 kB / 0.5902 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.2079, allocations: 15.88 kB / 0.5902 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2079, allocations: 0 / 0.5902 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.2101, allocations: 1.462 MB / 0.5917 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.2102, allocations: 7.984 kB / 0.5917 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.2102, allocations: 15.88 kB / 0.5917 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.2113, allocations: 0.7801 MB / 0.5924 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2114, allocations: 0 / 0.5924 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2114, allocations: 4 kB / 0.5925 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2114, allocations: 0 / 0.5925 GB, free: 12.67 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.0006528/0.212, allocations: 0.5146 MB / 0.593 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2121, allocations: 12.03 kB / 0.593 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.2122, allocations: 80.12 kB / 0.593 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2123, allocations: 255.5 kB / 0.5933 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.2124, allocations: 158.9 kB / 0.5934 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.2125, allocations: 158.5 kB / 0.5936 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.774e-05/0.2126, allocations: 101 kB / 0.5937 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.2126, allocations: 75.28 kB / 0.5938 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.2126, allocations: 150.6 kB / 0.5939 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.2127, allocations: 150.6 kB / 0.594 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.2128, allocations: 158.6 kB / 0.5942 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2131, allocations: 465.9 kB / 0.5946 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.2132, allocations: 173.1 kB / 0.5948 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.2132, allocations: 80.14 kB / 0.5949 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2133, allocations: 79.28 kB / 0.595 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.2133, allocations: 105.8 kB / 0.5951 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2133, allocations: 0 / 0.5951 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.619e-05/0.2134, allocations: 41.53 kB / 0.5951 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.2135, allocations: 126.7 kB / 0.5952 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2136, allocations: 131.4 kB / 0.5953 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2137, allocations: 25.7 kB / 0.5954 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2137, allocations: 100.1 kB / 0.5955 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2137, allocations: 0 / 0.5955 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2138, allocations: 17.7 kB / 0.5955 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2139, allocations: 318.8 kB / 0.5958 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.214, allocations: 4 kB / 0.5958 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.214, allocations: 4.031 kB / 0.5958 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.214, allocations: 16.89 kB / 0.5958 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.214, allocations: 3.938 kB / 0.5958 GB, free: 9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/0.2142, allocations: 65.56 kB / 0.5959 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2142, allocations: 4 kB / 0.5959 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2142, allocations: 4 kB / 0.5959 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2142, allocations: 0 / 0.5959 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.2142, allocations: 64 / 0.5959 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2143, allocations: 4 kB / 0.5959 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.2143, allocations: 7.875 kB / 0.5959 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2143, allocations: 4 kB / 0.5959 GB, free: 8.906 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.0001169/0.2144, allocations: 200.8 kB / 0.5961 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.2145, allocations: 112.9 kB / 0.5962 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.2146, allocations: 108.8 kB / 0.5963 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.42e-05/0.2146, allocations: 184.3 kB / 0.5965 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.371e-05/0.2147, allocations: 184.2 kB / 0.5967 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.601e-05/0.2148, allocations: 176.3 kB / 0.5968 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.215, allocations: 417.2 kB / 0.5972 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.2151, allocations: 104.9 kB / 0.5973 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.2151, allocations: 105 kB / 0.5974 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.311e-05/0.2152, allocations: 184.2 kB / 0.5976 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.2153, allocations: 180.3 kB / 0.5978 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.2153, allocations: 176.3 kB / 0.5979 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.2154, allocations: 184.2 kB / 0.5981 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.2156, allocations: 319.6 kB / 0.5984 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.2157, allocations: 178.1 kB / 0.5986 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.2157, allocations: 176.3 kB / 0.5988 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.2158, allocations: 116.9 kB / 0.5989 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.2159, allocations: 184.2 kB / 0.599 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2159, allocations: 104.9 kB / 0.5991 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.216, allocations: 101.2 kB / 0.5992 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.216, allocations: 3.938 kB / 0.5992 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007979/0.2168, allocations: 287.8 kB / 0.5995 GB, free: 4.977 MB / 0.4981 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.001127/0.218, allocations: 0.5252 MB / 0.6 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2181, allocations: 41.69 kB / 0.6001 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2181, allocations: 0 / 0.6001 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.2181, allocations: 4 kB / 0.6001 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.2185, allocations: 0.534 MB / 0.6006 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2189, allocations: 271.5 kB / 0.6008 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2192, allocations: 0.6848 MB / 0.6015 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.2192, allocations: 11.44 kB / 0.6015 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2192, allocations: 0 / 0.6015 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.3163/0.5355, allocations: 4.734 MB / 0.6062 GB, free: 50.16 MB / 0.4981 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)