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.001226/0.001226, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001535/0.001535, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.139/1.139, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003742, allocations: 8 kB / 0.507 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 82.32 MB / 0.5874 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001581/0.2292, allocations: 1.121 MB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.2334, allocations: 2.659 MB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.2335, allocations: 0 / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2335, allocations: 3.938 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.2336, allocations: 19.84 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.2372, allocations: 1.238 MB / 0.5924 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.2373, allocations: 43.73 kB / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.2374, allocations: 7.922 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.2e-05/0.2374, allocations: 11.94 kB / 0.5924 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.2374, allocations: 15.92 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2375, allocations: 0 / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2395, allocations: 1.244 MB / 0.5936 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.2395, allocations: 3.938 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.2395, allocations: 29.7 kB / 0.5937 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.2405, allocations: 0.706 MB / 0.5944 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.2405, allocations: 7.938 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.886e-06/0.2405, allocations: 0 / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2405, allocations: 0 / 0.5944 GB, free: 11.79 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.0006203/0.2411, allocations: 0.499 MB / 0.5949 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2412, allocations: 12.03 kB / 0.5949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.2413, allocations: 79.19 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2415, allocations: 262.1 kB / 0.5952 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.2416, allocations: 158.6 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.2416, allocations: 154.5 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.2417, allocations: 101 kB / 0.5956 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.2418, allocations: 79.28 kB / 0.5957 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.2418, allocations: 150.6 kB / 0.5958 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.2419, allocations: 150.6 kB / 0.596 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.242, allocations: 154.6 kB / 0.5961 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.2423, allocations: 473.8 kB / 0.5966 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.2424, allocations: 169.1 kB / 0.5967 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.2424, allocations: 80.14 kB / 0.5968 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.2425, allocations: 79.28 kB / 0.5969 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.2425, allocations: 109.8 kB / 0.597 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2425, allocations: 0 / 0.597 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.833e-05/0.2426, allocations: 41.55 kB / 0.597 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2427, allocations: 126.7 kB / 0.5971 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2428, allocations: 127.7 kB / 0.5973 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2429, allocations: 29.7 kB / 0.5973 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.2429, allocations: 96.12 kB / 0.5974 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.2429, allocations: 0 / 0.5974 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2429, allocations: 0 / 0.5974 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2431, allocations: 322.8 kB / 0.5977 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.2431, allocations: 3.938 kB / 0.5977 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.2431, allocations: 4 kB / 0.5977 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.2432, allocations: 8 kB / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2432, allocations: 0 / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.2433, allocations: 61.56 kB / 0.5978 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2433, allocations: 4 kB / 0.5978 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.2434, allocations: 4 kB / 0.5978 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2434, allocations: 0 / 0.5978 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.2434, allocations: 0 / 0.5978 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2434, allocations: 0 / 0.5978 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.2434, allocations: 7.938 kB / 0.5978 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2435, allocations: 3.984 kB / 0.5978 GB, free: 8.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.2436, allocations: 185.1 kB / 0.598 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.2437, allocations: 120.9 kB / 0.5981 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.2437, allocations: 112.8 kB / 0.5982 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-05/0.2438, allocations: 176.3 kB / 0.5983 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-05/0.2439, allocations: 180.2 kB / 0.5985 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-05/0.2439, allocations: 184.2 kB / 0.5987 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.2442, allocations: 421.2 kB / 0.5991 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-05/0.2442, allocations: 104.9 kB / 0.5992 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2443, allocations: 105 kB / 0.5993 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.2443, allocations: 180.2 kB / 0.5995 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.2444, allocations: 184.2 kB / 0.5996 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.365e-05/0.2445, allocations: 180.5 kB / 0.5998 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.24e-05/0.2445, allocations: 192.3 kB / 0.6 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2447, allocations: 315.7 kB / 0.6003 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.2448, allocations: 182 kB / 0.6005 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.2449, allocations: 180.3 kB / 0.6006 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.2449, allocations: 104.9 kB / 0.6007 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.245, allocations: 180.3 kB / 0.6009 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.2451, allocations: 108.9 kB / 0.601 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.2451, allocations: 105.8 kB / 0.6011 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2452, allocations: 0 / 0.6011 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007218/0.2459, allocations: 275.8 kB / 0.6014 GB, free: 4.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000942/0.2468, allocations: 0.4903 MB / 0.6019 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.2469, allocations: 45.69 kB / 0.6019 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2469, allocations: 0 / 0.6019 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.247, allocations: 0 / 0.6019 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.2474, allocations: 0.5224 MB / 0.6024 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.2477, allocations: 271.7 kB / 0.6027 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.248, allocations: 0.6809 MB / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.596e-05/0.248, allocations: 0 / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.2481, allocations: 11.44 kB / 0.6033 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2481, allocations: 4 kB / 0.6034 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.3244/0.5724, allocations: 5.593 MB / 0.6088 GB, free: 48.47 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)