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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, 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.001708/0.001708, allocations: 194 kB / 16.14 MB, free: 6.652 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 64.52 kB / 0.5047 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2201, 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.InternalResistancesTwoUTube): time 0.004023/0.2242, allocations: 1.487 MB / 0.5852 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.2295, allocations: 2.998 MB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.2296, allocations: 0 / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.2297, allocations: 11.92 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.2298, allocations: 7.922 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.234, allocations: 1.389 MB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.2341, allocations: 43.69 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.2342, allocations: 4 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.2342, allocations: 15.92 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.2343, allocations: 11.94 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2343, allocations: 4 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.2369, allocations: 1.459 MB / 0.591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.2369, allocations: 11.94 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.237, allocations: 19.86 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.2392, allocations: 1.111 MB / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2392, allocations: 4 kB / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2392, allocations: 0 / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2392, allocations: 4 kB / 0.5921 GB, free: 12.31 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.000859/0.2401, allocations: 0.5146 MB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.2401, allocations: 16.02 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.2402, allocations: 76.22 kB / 0.5927 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2404, allocations: 251.4 kB / 0.593 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.2405, allocations: 154.9 kB / 0.5931 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.2405, allocations: 158.5 kB / 0.5933 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/0.2406, allocations: 101 kB / 0.5934 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.2406, allocations: 79.28 kB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.2407, allocations: 150.6 kB / 0.5936 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.2408, allocations: 154.5 kB / 0.5937 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.2408, allocations: 150.6 kB / 0.5939 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.2411, allocations: 465.9 kB / 0.5943 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.2412, allocations: 181 kB / 0.5945 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.2413, allocations: 84.08 kB / 0.5946 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.2413, allocations: 79.22 kB / 0.5946 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.2414, allocations: 109.8 kB / 0.5948 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2414, allocations: 0 / 0.5948 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.445e-05/0.2415, allocations: 37.61 kB / 0.5948 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.2415, allocations: 126.7 kB / 0.5949 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.2417, allocations: 128 kB / 0.595 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2418, allocations: 25.7 kB / 0.5951 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2419, allocations: 100.1 kB / 0.5952 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.2419, allocations: 4 kB / 0.5952 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.242, allocations: 17.72 kB / 0.5952 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2421, allocations: 318.8 kB / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.2422, allocations: 8 kB / 0.5955 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.2422, allocations: 11.97 kB / 0.5955 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.2422, allocations: 12.86 kB / 0.5955 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2422, allocations: 3.938 kB / 0.5955 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001426/0.2424, allocations: 49.61 kB / 0.5956 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2424, allocations: 7.984 kB / 0.5956 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.2425, allocations: 8.062 kB / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2425, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.2425, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2425, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.2425, allocations: 3.938 kB / 0.5956 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2425, allocations: 4 kB / 0.5956 GB, free: 8.547 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.88e-05/0.2426, allocations: 185.1 kB / 0.5958 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.2427, allocations: 120.9 kB / 0.5959 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.2428, allocations: 116.8 kB / 0.596 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.355e-05/0.2428, allocations: 184.2 kB / 0.5962 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.539e-05/0.2429, allocations: 176.3 kB / 0.5963 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.69e-05/0.243, allocations: 180.2 kB / 0.5965 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.2432, allocations: 425.1 kB / 0.5969 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.2433, allocations: 105 kB / 0.597 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.2433, allocations: 104.9 kB / 0.5971 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.2434, allocations: 180.3 kB / 0.5973 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/0.2435, allocations: 176.3 kB / 0.5974 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-05/0.2435, allocations: 180.2 kB / 0.5976 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-05/0.2436, allocations: 188.2 kB / 0.5978 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2437, allocations: 315.6 kB / 0.5981 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.2438, allocations: 178.1 kB / 0.5983 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.2439, allocations: 196.2 kB / 0.5985 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.244, allocations: 105 kB / 0.5986 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.2441, allocations: 184.2 kB / 0.5987 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.2441, allocations: 101 kB / 0.5988 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.2442, allocations: 101.9 kB / 0.5989 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2442, allocations: 0 / 0.5989 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009693/0.2452, allocations: 283.8 kB / 0.5992 GB, free: 4.617 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.001374/0.2465, allocations: 0.5367 MB / 0.5997 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2466, allocations: 41.64 kB / 0.5998 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2467, allocations: 0 / 0.5998 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.2467, allocations: 0 / 0.5998 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.2471, allocations: 0.5416 MB / 0.6003 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.2474, allocations: 245.8 kB / 0.6005 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2477, allocations: 0.6848 MB / 0.6012 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.471e-05/0.2477, allocations: 0 / 0.6012 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.2478, allocations: 11.44 kB / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.2478, allocations: 0 / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.3077/0.5555, allocations: 5.645 MB / 0.6067 GB, free: 51.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)