Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001215/0.001215, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001161/0.001161, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7953/0.7953, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5033 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4738, allocations: 80.19 MB / 0.5816 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003241/0.4771, allocations: 1.409 MB / 0.5829 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004103/0.4812, allocations: 2.845 MB / 0.5857 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.4813, allocations: 0 / 0.5857 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.4814, allocations: 6.344 kB / 0.5857 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.4815, allocations: 17.06 kB / 0.5857 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.4857, allocations: 1.557 MB / 0.5873 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.4858, allocations: 41.39 kB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.4858, allocations: 2.531 kB / 0.5873 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.4858, allocations: 13.88 kB / 0.5873 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.4859, allocations: 22.89 kB / 0.5873 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.4859, allocations: 1.188 kB / 0.5873 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.4881, allocations: 1.483 MB / 0.5888 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.4882, allocations: 2.906 kB / 0.5888 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.4882, allocations: 15.09 kB / 0.5888 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.4897, allocations: 1.079 MB / 0.5899 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4897, allocations: 0.8438 kB / 0.5899 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4897, allocations: 0 / 0.5899 GB, free: 21.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.4897, allocations: 0 / 0.5899 GB, free: 21.67 MB / 446.1 MB 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.0004796/0.4902, allocations: 0.509 MB / 0.5904 GB, free: 21.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4903, allocations: 16.56 kB / 0.5904 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4903, allocations: 81.34 kB / 0.5904 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4904, allocations: 249.9 kB / 0.5907 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.4905, allocations: 156.6 kB / 0.5908 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.4905, allocations: 158.5 kB / 0.591 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.783e-05/0.4906, allocations: 107.2 kB / 0.5911 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4906, allocations: 75.28 kB / 0.5912 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.4906, allocations: 150.6 kB / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.4907, allocations: 154.5 kB / 0.5914 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.4907, allocations: 151.5 kB / 0.5916 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.4909, allocations: 467.3 kB / 0.592 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.491, allocations: 180.2 kB / 0.5922 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.491, allocations: 80.14 kB / 0.5923 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.491, allocations: 75.28 kB / 0.5924 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.491, allocations: 109.8 kB / 0.5925 GB, free: 18.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.491, allocations: 0.625 kB / 0.5925 GB, free: 18.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.928e-05/0.4911, allocations: 34.86 kB / 0.5925 GB, free: 18.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4911, allocations: 126.7 kB / 0.5926 GB, free: 18.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4913, allocations: 126.5 kB / 0.5927 GB, free: 18.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.4913, allocations: 25.7 kB / 0.5928 GB, free: 18.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.4913, allocations: 96.66 kB / 0.5929 GB, free: 18.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.4913, allocations: 2.031 kB / 0.5929 GB, free: 18.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.4913, allocations: 13.72 kB / 0.5929 GB, free: 18.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.4914, allocations: 318.8 kB / 0.5932 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.4914, allocations: 7.984 kB / 0.5932 GB, free: 18.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.4914, allocations: 4.5 kB / 0.5932 GB, free: 18.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.4915, allocations: 15.02 kB / 0.5932 GB, free: 18.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4915, allocations: 3.938 kB / 0.5932 GB, free: 18.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.4916, allocations: 49.61 kB / 0.5933 GB, free: 18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4916, allocations: 7.984 kB / 0.5933 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.4917, allocations: 4 kB / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4917, allocations: 3.25 kB / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.4917, allocations: 3.938 kB / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4917, allocations: 0 / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.4917, allocations: 0 / 0.5933 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4917, allocations: 3.938 kB / 0.5933 GB, free: 17.98 MB / 446.1 MB 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 6.768e-05/0.4918, allocations: 193 kB / 0.5935 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4918, allocations: 110.4 kB / 0.5936 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4919, allocations: 116.9 kB / 0.5937 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.4919, allocations: 180.9 kB / 0.5938 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/0.492, allocations: 184.8 kB / 0.594 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.492, allocations: 184.8 kB / 0.5942 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4921, allocations: 418 kB / 0.5946 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.4922, allocations: 111.2 kB / 0.5947 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.4922, allocations: 104.9 kB / 0.5948 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.4922, allocations: 176.3 kB / 0.595 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4922, allocations: 180.8 kB / 0.5951 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-05/0.4923, allocations: 182.3 kB / 0.5953 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-05/0.4923, allocations: 180.2 kB / 0.5955 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/0.4924, allocations: 312.7 kB / 0.5958 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.4924, allocations: 187.9 kB / 0.596 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.4925, allocations: 180.2 kB / 0.5961 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.4925, allocations: 105 kB / 0.5962 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.4926, allocations: 185.9 kB / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4926, allocations: 101 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.4926, allocations: 98.27 kB / 0.5966 GB, free: 14.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4926, allocations: 0.9688 kB / 0.5966 GB, free: 14.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000632/0.4933, allocations: 275.8 kB / 0.5969 GB, free: 14.08 MB / 446.1 MB 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.0008791/0.4941, allocations: 0.517 MB / 0.5974 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.484e-05/0.4943, allocations: 38.67 kB / 0.5974 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4943, allocations: 0 / 0.5974 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4943, allocations: 1.688 kB / 0.5974 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4946, allocations: 473.2 kB / 0.5979 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.4949, allocations: 242.3 kB / 0.5981 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.495, allocations: 0.6807 MB / 0.5988 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.453e-05/0.495, allocations: 1.25 kB / 0.5988 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.079e-05/0.4951, allocations: 7.438 kB / 0.5988 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4951, allocations: 0 / 0.5988 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Templates: time 0.007967/0.503, allocations: 5.427 MB / 0.6041 GB, free: 6.742 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)