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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005747/0.005747, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.001159/0.001159, allocations: 198.7 kB / 16.79 MB, free: 6.258 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.28 kB / 0.5054 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1948, allocations: 80.92 MB / 0.5844 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002586/0.1974, allocations: 1.475 MB / 0.5858 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.2016, allocations: 2.951 MB / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.2017, allocations: 0 / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.2018, allocations: 0 / 0.5887 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.2018, allocations: 19.84 kB / 0.5887 GB, free: 448 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.2051, allocations: 1.373 MB / 0.5901 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.2052, allocations: 39.73 kB / 0.5901 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.2053, allocations: 4 kB / 0.5901 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.2053, allocations: 11.94 kB / 0.5901 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.317e-05/0.2053, allocations: 19.91 kB / 0.5902 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2053, allocations: 3.938 kB / 0.5902 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2072, allocations: 1.42 MB / 0.5915 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.2073, allocations: 7.938 kB / 0.5916 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.2073, allocations: 15.88 kB / 0.5916 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.2082, allocations: 0.7644 MB / 0.5923 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2083, allocations: 0 / 0.5923 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2083, allocations: 4 kB / 0.5923 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2083, allocations: 0 / 0.5923 GB, free: 12.8 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.0005792/0.2089, allocations: 0.5146 MB / 0.5928 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2089, allocations: 8.75 kB / 0.5928 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.209, allocations: 80.22 kB / 0.5929 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.2091, allocations: 255.4 kB / 0.5932 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.2092, allocations: 154.9 kB / 0.5933 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.2093, allocations: 154.5 kB / 0.5934 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.7e-05/0.2093, allocations: 101 kB / 0.5935 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.2094, allocations: 79.27 kB / 0.5936 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.2094, allocations: 154.6 kB / 0.5938 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-05/0.2095, allocations: 154.6 kB / 0.5939 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.2096, allocations: 154.5 kB / 0.5941 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.2099, allocations: 465.9 kB / 0.5945 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.167e-05/0.21, allocations: 173.1 kB / 0.5947 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.21, allocations: 80.14 kB / 0.5947 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.21, allocations: 79.28 kB / 0.5948 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.2101, allocations: 109.8 kB / 0.5949 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2101, allocations: 4 kB / 0.5949 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.438e-05/0.2102, allocations: 25.7 kB / 0.595 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.2102, allocations: 126.7 kB / 0.5951 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2104, allocations: 135.8 kB / 0.5952 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2104, allocations: 33.7 kB / 0.5952 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.2105, allocations: 88.12 kB / 0.5953 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.2105, allocations: 0 / 0.5953 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2105, allocations: 17.72 kB / 0.5953 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2106, allocations: 318.8 kB / 0.5956 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.2106, allocations: 8 kB / 0.5957 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.2107, allocations: 0 / 0.5957 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.2107, allocations: 16.8 kB / 0.5957 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2107, allocations: 7.969 kB / 0.5957 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.2108, allocations: 49.59 kB / 0.5957 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2109, allocations: 4 kB / 0.5957 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.2109, allocations: 4 kB / 0.5957 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2109, allocations: 0 / 0.5957 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-06/0.2109, allocations: 48 / 0.5957 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2109, allocations: 7.875 kB / 0.5957 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.2109, allocations: 7.984 kB / 0.5957 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.211, allocations: 0 / 0.5957 GB, free: 9.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 9.302e-05/0.2111, allocations: 189.1 kB / 0.5959 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.2111, allocations: 120.9 kB / 0.596 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.2112, allocations: 116.9 kB / 0.5962 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/0.2112, allocations: 180.2 kB / 0.5963 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-05/0.2113, allocations: 176.3 kB / 0.5965 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-05/0.2114, allocations: 176.3 kB / 0.5967 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.2116, allocations: 429.1 kB / 0.5971 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/0.2117, allocations: 101 kB / 0.5972 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.2117, allocations: 104.9 kB / 0.5973 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.536e-05/0.2118, allocations: 180.3 kB / 0.5974 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.2119, allocations: 176.3 kB / 0.5976 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.725e-05/0.2119, allocations: 188.2 kB / 0.5978 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-05/0.212, allocations: 180.2 kB / 0.598 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2121, allocations: 307.7 kB / 0.5983 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.2122, allocations: 186 kB / 0.5984 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.2123, allocations: 184.2 kB / 0.5986 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.2124, allocations: 113 kB / 0.5987 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.2124, allocations: 180.2 kB / 0.5989 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.2125, allocations: 105 kB / 0.599 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.2125, allocations: 99.27 kB / 0.5991 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2125, allocations: 0 / 0.5991 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007435/0.2133, allocations: 279.8 kB / 0.5993 GB, free: 5.141 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.001035/0.2143, allocations: 0.5214 MB / 0.5999 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.636e-05/0.2144, allocations: 37.7 kB / 0.5999 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2144, allocations: 3.938 kB / 0.5999 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2144, allocations: 0 / 0.5999 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.2149, allocations: 0.5334 MB / 0.6004 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.2152, allocations: 267.5 kB / 0.6007 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2155, allocations: 0.6887 MB / 0.6013 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/0.2155, allocations: 11.44 kB / 0.6014 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2155, allocations: 0 / 0.6014 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.3193/0.5348, allocations: 4.612 MB / 0.6059 GB, free: 50.08 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)