Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005167/0.005167, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001193/0.001193, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7139/0.7139, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.5814 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3922, allocations: 80.21 MB / 0.6598 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002146/0.3944, allocations: 1.363 MB / 0.6611 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.3967, allocations: 1.794 MB / 0.6628 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.3968, allocations: 0 / 0.6628 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.226e-05/0.3969, allocations: 9.547 kB / 0.6628 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.397, allocations: 35.17 kB / 0.6629 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.3992, allocations: 1.143 MB / 0.664 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3994, allocations: 45.64 kB / 0.664 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.3994, allocations: 2.688 kB / 0.664 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.3995, allocations: 26.5 kB / 0.6641 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3996, allocations: 33.36 kB / 0.6641 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3996, allocations: 0 / 0.6641 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.4006, allocations: 0.8887 MB / 0.665 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.4007, allocations: 70.88 kB / 0.665 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.4008, allocations: 67.42 kB / 0.6651 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.4017, allocations: 0.8824 MB / 0.666 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4017, allocations: 0 / 0.666 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4017, allocations: 0 / 0.666 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4017, allocations: 1.156 kB / 0.666 GB, free: 6.238 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005207/0.4022, allocations: 0.5986 MB / 0.6665 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4023, allocations: 9.656 kB / 0.6666 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.4023, allocations: 24.88 kB / 0.6666 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4025, allocations: 220.5 kB / 0.6668 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.4025, allocations: 9.188 kB / 0.6668 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.4025, allocations: 4 kB / 0.6668 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4026, allocations: 103.8 kB / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4026, allocations: 0 / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.4026, allocations: 0 / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4026, allocations: 1.312 kB / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.4027, allocations: 79.42 kB / 0.667 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.4029, allocations: 277.5 kB / 0.6672 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.403, allocations: 130.9 kB / 0.6674 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.4031, allocations: 113.4 kB / 0.6675 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4031, allocations: 1.75 kB / 0.6675 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.4031, allocations: 30.56 kB / 0.6675 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/0.4032, allocations: 0 / 0.6675 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003385/0.4035, allocations: 340.7 kB / 0.6678 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.4035, allocations: 51.41 kB / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4037, allocations: 258.9 kB / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.4037, allocations: 29.73 kB / 0.6682 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.4038, allocations: 131.9 kB / 0.6683 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.4038, allocations: 107 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.4039, allocations: 28.23 kB / 0.6684 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.4039, allocations: 341.3 kB / 0.6687 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.404, allocations: 74.88 kB / 0.6688 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/0.4041, allocations: 79.73 kB / 0.6689 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4042, allocations: 199.3 kB / 0.6691 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4042, allocations: 3.969 kB / 0.6691 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001878/0.4044, allocations: 230 kB / 0.6693 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4045, allocations: 4.906 kB / 0.6693 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4045, allocations: 1 kB / 0.6693 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4045, allocations: 0 / 0.6693 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.4045, allocations: 1.531 kB / 0.6693 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4045, allocations: 3.984 kB / 0.6693 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.4046, allocations: 18.16 kB / 0.6693 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4046, allocations: 1.219 kB / 0.6693 GB, free: 3.688 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.285e-05/0.4047, allocations: 163.7 kB / 0.6695 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.4047, allocations: 24.12 kB / 0.6695 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.4049, allocations: 255.2 kB / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.405, allocations: 0 / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.405, allocations: 1.281 kB / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.405, allocations: 0 / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.4052, allocations: 288.7 kB / 0.67 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4052, allocations: 1.188 kB / 0.67 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.4052, allocations: 5.375 kB / 0.67 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.4052, allocations: 0 / 0.67 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4052, allocations: 1.375 kB / 0.67 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4052, allocations: 4.031 kB / 0.67 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4052, allocations: 0 / 0.67 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.4054, allocations: 261.7 kB / 0.6703 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4055, allocations: 103.4 kB / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4055, allocations: 0 / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.4055, allocations: 1.438 kB / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.4056, allocations: 0 / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4056, allocations: 1.156 kB / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001276/0.4057, allocations: 195.2 kB / 0.6706 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4057, allocations: 0 / 0.6706 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004944/0.4062, allocations: 215.8 kB / 0.6708 GB, free: 2.723 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 (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 Backend phase and start with SimCode phase: time 0.0006192/0.4068, allocations: 341.3 kB / 0.6711 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.4071, allocations: 275.2 kB / 0.6714 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4071, allocations: 0 / 0.6714 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4072, allocations: 180.1 kB / 0.6715 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4074, allocations: 23.67 kB / 0.6716 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.408, allocations: 0.4904 MB / 0.672 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.4082, allocations: 0.7667 MB / 0.6728 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.4082, allocations: 2.688 kB / 0.6728 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.4082, allocations: 8.781 kB / 0.6728 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4082, allocations: 1.312 kB / 0.6728 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.007873/0.4161, allocations: 4.628 MB / 0.6773 GB, free: 14.93 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)