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.001253/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001847/0.001846, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9647/0.9647, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.67 kB / 0.5047 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2079, allocations: 80.92 MB / 0.5838 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003233/0.2112, allocations: 1.478 MB / 0.5852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.2164, allocations: 2.955 MB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.2165, allocations: 0 / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.2165, allocations: 3.984 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.2167, allocations: 11.81 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.2209, allocations: 1.368 MB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.221, allocations: 43.67 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.2211, allocations: 4 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.2211, allocations: 15.92 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.2212, allocations: 7.938 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2212, allocations: 4 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.224, allocations: 1.416 MB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.224, allocations: 15.92 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.2241, allocations: 15.92 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.2262, allocations: 1.096 MB / 0.592 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2262, allocations: 0 / 0.592 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2262, allocations: 0 / 0.592 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2262, allocations: 0 / 0.592 GB, free: 12.53 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.000813/0.2271, allocations: 0.5107 MB / 0.5925 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2271, allocations: 12.75 kB / 0.5925 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.2272, allocations: 76.22 kB / 0.5926 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2274, allocations: 263.4 kB / 0.5928 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.2275, allocations: 154.9 kB / 0.593 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.2275, allocations: 158.5 kB / 0.5931 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.2276, allocations: 101 kB / 0.5932 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.2277, allocations: 79.22 kB / 0.5933 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.2277, allocations: 150.6 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.2278, allocations: 158.6 kB / 0.5936 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.2279, allocations: 150.6 kB / 0.5937 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.2282, allocations: 461.9 kB / 0.5942 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.2283, allocations: 169.1 kB / 0.5943 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.2283, allocations: 92.08 kB / 0.5944 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2283, allocations: 75.28 kB / 0.5945 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.2284, allocations: 105.8 kB / 0.5946 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2284, allocations: 0 / 0.5946 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.247e-05/0.2285, allocations: 29.7 kB / 0.5946 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.2285, allocations: 126.7 kB / 0.5948 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2287, allocations: 136.2 kB / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2287, allocations: 29.7 kB / 0.5949 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.2288, allocations: 92.12 kB / 0.595 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.2288, allocations: 0 / 0.595 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2288, allocations: 17.72 kB / 0.595 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.229, allocations: 318.8 kB / 0.5953 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.229, allocations: 7.938 kB / 0.5953 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.229, allocations: 4 kB / 0.5953 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.2291, allocations: 12.86 kB / 0.5953 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2291, allocations: 7.969 kB / 0.5954 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.2292, allocations: 45.59 kB / 0.5954 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2292, allocations: 8 kB / 0.5954 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.2293, allocations: 0 / 0.5954 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2293, allocations: 4 kB / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.2293, allocations: 4 kB / 0.5954 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2293, allocations: 3.938 kB / 0.5954 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.2293, allocations: 0 / 0.5954 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2293, allocations: 0 / 0.5954 GB, free: 8.793 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.0001049/0.2294, allocations: 201 kB / 0.5956 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.2295, allocations: 112.9 kB / 0.5957 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.2296, allocations: 116.9 kB / 0.5958 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.39e-05/0.2297, allocations: 180.2 kB / 0.596 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-05/0.2297, allocations: 180.3 kB / 0.5962 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.137e-05/0.2298, allocations: 188.2 kB / 0.5964 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.23, allocations: 413.2 kB / 0.5967 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/0.2301, allocations: 101 kB / 0.5968 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.2301, allocations: 108.9 kB / 0.5969 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/0.2302, allocations: 180.3 kB / 0.5971 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.2303, allocations: 184.2 kB / 0.5973 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-05/0.2303, allocations: 180.3 kB / 0.5975 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.2304, allocations: 180.3 kB / 0.5976 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2305, allocations: 307.7 kB / 0.5979 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.2306, allocations: 198 kB / 0.5981 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.2307, allocations: 176.3 kB / 0.5983 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.2308, allocations: 105 kB / 0.5984 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.2309, allocations: 184.2 kB / 0.5986 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.2309, allocations: 105 kB / 0.5987 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.231, allocations: 105.8 kB / 0.5988 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.231, allocations: 0 / 0.5988 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008993/0.2319, allocations: 279.8 kB / 0.599 GB, free: 4.863 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.001309/0.2332, allocations: 0.5136 MB / 0.5995 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.2333, allocations: 41.62 kB / 0.5996 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2333, allocations: 4 kB / 0.5996 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.2333, allocations: 0 / 0.5996 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.2339, allocations: 0.5341 MB / 0.6001 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.2342, allocations: 241.7 kB / 0.6003 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2345, allocations: 0.6848 MB / 0.601 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.2345, allocations: 3.906 kB / 0.601 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.2345, allocations: 11.44 kB / 0.601 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2346, allocations: 0 / 0.601 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.3116/0.5462, allocations: 5.457 MB / 0.6063 GB, free: 51.97 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)