Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7222/0.7222, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 396.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.0009727, allocations: 90.02 kB / 478.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.847e-05, allocations: 4.125 kB / 0.5551 GB, free: 85.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1957, allocations: 81.58 MB / 0.6348 GB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6225/0.8183, allocations: 132 MB / 0.7637 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.8186, allocations: 121 kB / 0.7638 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04114/0.8597, allocations: 15.35 MB / 0.7788 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8598, allocations: 0 / 0.7788 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8598, allocations: 4 kB / 0.7788 GB, free: 15.86 MB / 0.5105 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.0009506/0.8607, allocations: 0.5562 MB / 0.7793 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8608, allocations: 8.031 kB / 0.7793 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.8609, allocations: 87.14 kB / 0.7794 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.861, allocations: 244.2 kB / 0.7797 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.8611, allocations: 150.6 kB / 0.7798 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.8612, allocations: 154.6 kB / 0.78 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.083e-05/0.8612, allocations: 101 kB / 0.7801 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.8613, allocations: 75.28 kB / 0.7801 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.8613, allocations: 158.5 kB / 0.7803 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.8614, allocations: 154.2 kB / 0.7804 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.8614, allocations: 158.5 kB / 0.7806 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.8618, allocations: 473.2 kB / 0.781 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.8619, allocations: 165.1 kB / 0.7812 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.8619, allocations: 80.14 kB / 0.7813 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.8619, allocations: 75.28 kB / 0.7813 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.862, allocations: 113.8 kB / 0.7814 GB, free: 13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.862, allocations: 3.938 kB / 0.7814 GB, free: 13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.017e-05/0.8621, allocations: 37.16 kB / 0.7815 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.8621, allocations: 126.7 kB / 0.7816 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.8623, allocations: 117.4 kB / 0.7817 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.8623, allocations: 29.7 kB / 0.7817 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.8624, allocations: 95.09 kB / 0.7818 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.8624, allocations: 4 kB / 0.7818 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.8624, allocations: 0 / 0.7818 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8625, allocations: 322.4 kB / 0.7821 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.8625, allocations: 4 kB / 0.7821 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.8626, allocations: 3.75 kB / 0.7821 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.8626, allocations: 8 kB / 0.7822 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8626, allocations: 0 / 0.7822 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/0.8627, allocations: 49.25 kB / 0.7822 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.8627, allocations: 8 kB / 0.7822 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.8628, allocations: 64 / 0.7822 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8628, allocations: 8.062 kB / 0.7822 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.115e-06/0.8628, allocations: 4 kB / 0.7822 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.8628, allocations: 4.562 kB / 0.7822 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.8628, allocations: 3.906 kB / 0.7822 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.8628, allocations: 0 / 0.7822 GB, free: 12.17 MB / 0.5105 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 () * 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 8.778e-05/0.8629, allocations: 184.2 kB / 0.7824 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.863, allocations: 112.5 kB / 0.7825 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.8631, allocations: 120.4 kB / 0.7826 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.8631, allocations: 180.4 kB / 0.7828 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/0.8632, allocations: 180.2 kB / 0.783 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.641e-05/0.8633, allocations: 184.2 kB / 0.7831 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.8635, allocations: 412.5 kB / 0.7835 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.8636, allocations: 108.9 kB / 0.7836 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.8636, allocations: 109 kB / 0.7837 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-05/0.8637, allocations: 183.8 kB / 0.7839 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.8638, allocations: 180.2 kB / 0.7841 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/0.8639, allocations: 180.2 kB / 0.7843 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.211e-05/0.864, allocations: 180.3 kB / 0.7844 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.8642, allocations: 315.4 kB / 0.7847 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.8643, allocations: 186 kB / 0.7849 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.8644, allocations: 180.2 kB / 0.7851 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.8645, allocations: 101.9 kB / 0.7852 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.8646, allocations: 180 kB / 0.7854 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.8647, allocations: 116.9 kB / 0.7855 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.8648, allocations: 97.66 kB / 0.7856 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8648, allocations: 0 / 0.7856 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00147/0.8663, allocations: 326.4 kB / 0.7859 GB, free: 8.254 MB / 0.5105 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 () * 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.001123/0.8674, allocations: 0.5438 MB / 0.7864 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.8675, allocations: 41.59 kB / 0.7864 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8675, allocations: 0 / 0.7864 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.8675, allocations: 4.062 kB / 0.7864 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.8679, allocations: 0.5299 MB / 0.787 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.8681, allocations: 148.3 kB / 0.7871 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.8684, allocations: 0.6926 MB / 0.7878 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.8684, allocations: 0 / 0.7878 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.8684, allocations: 11.44 kB / 0.7878 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8685, allocations: 0 / 0.7878 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of Templates: time 0.009131/0.8776, allocations: 5.295 MB / 0.793 GB, free: 0.9961 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)