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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001873/0.001873, allocations: 192.4 kB / 16.14 MB, free: 6.691 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9519/0.9519, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.34 kB / 0.5047 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1938, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002813/0.1967, allocations: 1.475 MB / 0.5852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.2013, allocations: 2.951 MB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.2013, allocations: 0 / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.2014, allocations: 3.938 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.2014, allocations: 11.92 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.2047, allocations: 1.369 MB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.2048, allocations: 39.73 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.2049, allocations: 7.938 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.2049, allocations: 8 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.702e-05/0.2049, allocations: 15.88 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.205, allocations: 7.984 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.2071, allocations: 1.427 MB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.2071, allocations: 4 kB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.2071, allocations: 19.88 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.2086, allocations: 1.088 MB / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2086, allocations: 0 / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2086, allocations: 0 / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2086, allocations: 0 / 0.592 GB, free: 12.46 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.0006591/0.2093, allocations: 0.5068 MB / 0.5925 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2093, allocations: 12.03 kB / 0.5925 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.2094, allocations: 84.2 kB / 0.5926 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2096, allocations: 257.7 kB / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.2097, allocations: 150.9 kB / 0.593 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.2098, allocations: 162.5 kB / 0.5931 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.2098, allocations: 101 kB / 0.5932 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.2099, allocations: 75.28 kB / 0.5933 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.2099, allocations: 154.6 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.21, allocations: 150.6 kB / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.2101, allocations: 154.5 kB / 0.5937 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2104, allocations: 461.9 kB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.2105, allocations: 173.1 kB / 0.5943 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.2105, allocations: 80.14 kB / 0.5944 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.2106, allocations: 79.28 kB / 0.5945 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.2106, allocations: 117.8 kB / 0.5946 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2106, allocations: 0 / 0.5946 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.2107, allocations: 33.64 kB / 0.5946 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2108, allocations: 130.7 kB / 0.5948 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2109, allocations: 129.7 kB / 0.5949 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2109, allocations: 25.7 kB / 0.5949 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.211, allocations: 88.14 kB / 0.595 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.211, allocations: 4 kB / 0.595 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.211, allocations: 17.7 kB / 0.595 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2112, allocations: 314.8 kB / 0.5953 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.2112, allocations: 8 kB / 0.5953 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.2112, allocations: 8 kB / 0.5953 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.2113, allocations: 12.84 kB / 0.5953 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2113, allocations: 3.938 kB / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.2114, allocations: 49.55 kB / 0.5954 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2114, allocations: 8 kB / 0.5954 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.2115, allocations: 0 / 0.5954 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2115, allocations: 0 / 0.5954 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.2115, allocations: 4 kB / 0.5954 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2115, allocations: 3.984 kB / 0.5954 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.2115, allocations: 8 kB / 0.5954 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2115, allocations: 11.92 kB / 0.5954 GB, free: 8.711 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.0001253/0.2117, allocations: 189.1 kB / 0.5956 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.2117, allocations: 104.9 kB / 0.5957 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.2118, allocations: 124.9 kB / 0.5958 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.2119, allocations: 180.2 kB / 0.596 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001513/0.212, allocations: 184.2 kB / 0.5962 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/0.2122, allocations: 180.3 kB / 0.5964 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.2125, allocations: 417.1 kB / 0.5967 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.2126, allocations: 101 kB / 0.5968 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.2127, allocations: 109 kB / 0.5969 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.827e-05/0.2128, allocations: 180.2 kB / 0.5971 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.2128, allocations: 180.3 kB / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.928e-05/0.2129, allocations: 180.2 kB / 0.5975 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001084/0.2131, allocations: 180.3 kB / 0.5976 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2132, allocations: 311.7 kB / 0.5979 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.2133, allocations: 186 kB / 0.5981 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.2134, allocations: 184.2 kB / 0.5983 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.2135, allocations: 109 kB / 0.5984 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.2136, allocations: 180.3 kB / 0.5986 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.2136, allocations: 108.9 kB / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.159e-05/0.2137, allocations: 97.92 kB / 0.5988 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2137, allocations: 4 kB / 0.5988 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008424/0.2145, allocations: 279.8 kB / 0.599 GB, free: 4.797 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.001159/0.2157, allocations: 0.5252 MB / 0.5995 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2158, allocations: 33.7 kB / 0.5996 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2158, allocations: 0 / 0.5996 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.2158, allocations: 64 / 0.5996 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.2164, allocations: 0.5379 MB / 0.6001 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.2167, allocations: 237.9 kB / 0.6003 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.217, allocations: 0.677 MB / 0.601 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.243e-05/0.217, allocations: 7.938 kB / 0.601 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.217, allocations: 7.438 kB / 0.601 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.217, allocations: 0 / 0.601 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.293/0.51, allocations: 5.461 MB / 0.6063 GB, free: 52.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)