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.0013/0.0013, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001323/0.001323, allocations: 187 kB / 17.34 MB, free: 5.719 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8479/0.8479, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 62.72 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1785, allocations: 80.93 MB / 0.6654 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002625/0.1811, allocations: 1.429 MB / 0.6668 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.1854, allocations: 2.833 MB / 0.6695 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.1854, allocations: 4 kB / 0.6695 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.1855, allocations: 3.938 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.1856, allocations: 11.86 kB / 0.6696 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.1894, allocations: 1.549 MB / 0.6711 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1895, allocations: 43.73 kB / 0.6711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.1896, allocations: 4 kB / 0.6711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.1896, allocations: 15.92 kB / 0.6711 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.1897, allocations: 11.94 kB / 0.6711 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1897, allocations: 4 kB / 0.6711 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.1919, allocations: 1.485 MB / 0.6726 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.192, allocations: 7.938 kB / 0.6726 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.192, allocations: 23.86 kB / 0.6726 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1934, allocations: 1.057 MB / 0.6737 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1934, allocations: 3.984 kB / 0.6737 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.604e-06/0.1934, allocations: 0 / 0.6737 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1934, allocations: 3.938 kB / 0.6737 GB, free: 13.26 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.0006165/0.194, allocations: 0.5186 MB / 0.6742 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1941, allocations: 8.031 kB / 0.6742 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.1941, allocations: 88.12 kB / 0.6743 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.1943, allocations: 247.5 kB / 0.6745 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.1944, allocations: 158.7 kB / 0.6746 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.1944, allocations: 150.6 kB / 0.6748 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.642e-05/0.1945, allocations: 109 kB / 0.6749 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.1946, allocations: 75.28 kB / 0.675 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.1946, allocations: 154.6 kB / 0.6751 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.1947, allocations: 154.6 kB / 0.6753 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.1947, allocations: 158.5 kB / 0.6754 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.195, allocations: 461.9 kB / 0.6759 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.1951, allocations: 173.1 kB / 0.676 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1951, allocations: 80.14 kB / 0.6761 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1952, allocations: 75.28 kB / 0.6762 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.1952, allocations: 113.8 kB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1952, allocations: 0 / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.775e-05/0.1953, allocations: 33.61 kB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1954, allocations: 130.7 kB / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1956, allocations: 131.4 kB / 0.6766 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1956, allocations: 25.7 kB / 0.6766 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1956, allocations: 96.12 kB / 0.6767 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/0.1956, allocations: 0 / 0.6767 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1957, allocations: 17.66 kB / 0.6767 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1958, allocations: 322.8 kB / 0.677 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.1958, allocations: 4 kB / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/0.1959, allocations: 4 kB / 0.677 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.1959, allocations: 20.73 kB / 0.677 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1959, allocations: 0 / 0.677 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.1961, allocations: 49.59 kB / 0.6771 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1961, allocations: 4 kB / 0.6771 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.1961, allocations: 4 kB / 0.6771 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1961, allocations: 0 / 0.6771 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.1961, allocations: 0 / 0.6771 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.1962, allocations: 3.984 kB / 0.6771 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.1962, allocations: 8 kB / 0.6771 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1962, allocations: 4 kB / 0.6771 GB, free: 9.508 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.0001163/0.1963, allocations: 190.4 kB / 0.6773 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.1964, allocations: 116.9 kB / 0.6774 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.1964, allocations: 108.8 kB / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.415e-05/0.1965, allocations: 184.2 kB / 0.6777 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.906e-05/0.1966, allocations: 188.2 kB / 0.6778 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.117e-05/0.1967, allocations: 176.3 kB / 0.678 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1969, allocations: 421.1 kB / 0.6784 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.552e-05/0.197, allocations: 101 kB / 0.6785 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.197, allocations: 104.9 kB / 0.6786 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-05/0.1971, allocations: 180.3 kB / 0.6788 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.1972, allocations: 184.3 kB / 0.679 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.574e-05/0.1972, allocations: 184.2 kB / 0.6791 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.466e-05/0.1973, allocations: 176.3 kB / 0.6793 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1975, allocations: 311.6 kB / 0.6796 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.1976, allocations: 190.1 kB / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.1976, allocations: 180.2 kB / 0.68 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.1977, allocations: 105 kB / 0.6801 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1978, allocations: 188.2 kB / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1979, allocations: 101 kB / 0.6803 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.317e-05/0.1979, allocations: 109 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.198, allocations: 4 kB / 0.6804 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008919/0.1988, allocations: 275.8 kB / 0.6807 GB, free: 5.586 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.001178/0.2, allocations: 0.5098 MB / 0.6812 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2002, allocations: 41.64 kB / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2002, allocations: 0 / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2002, allocations: 64 / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.2007, allocations: 471.6 kB / 0.6817 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.201, allocations: 263.9 kB / 0.6819 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2013, allocations: 0.6885 MB / 0.6826 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2013, allocations: 7.438 kB / 0.6826 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.2014, allocations: 0 / 0.6826 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of Templates: time 0.008601/0.21, allocations: 4.601 MB / 0.6871 GB, free: 14.95 MB / 0.5294 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)