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.008793/0.008793, allocations: 169.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8358/0.8358, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 403.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 93.88 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003973, allocations: 8 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4536, allocations: 81.57 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.6323, allocations: 132 MB / 0.7728 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.6327, allocations: 119.9 kB / 0.7729 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04548/0.6782, allocations: 15.43 MB / 0.7879 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6782, allocations: 0 / 0.7879 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.6782, allocations: 0 / 0.7879 GB, free: 4.328 MB / 0.5573 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.001055/0.6793, allocations: 0.5651 MB / 0.7885 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6794, allocations: 8.031 kB / 0.7885 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.6794, allocations: 87.14 kB / 0.7886 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.6796, allocations: 246.3 kB / 0.7888 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.6796, allocations: 154.6 kB / 0.789 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.6797, allocations: 150.6 kB / 0.7891 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.315e-05/0.6798, allocations: 105 kB / 0.7892 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.6798, allocations: 79.28 kB / 0.7893 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.6799, allocations: 154.6 kB / 0.7894 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.6799, allocations: 150.6 kB / 0.7896 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.68, allocations: 154.5 kB / 0.7897 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.6803, allocations: 469.8 kB / 0.7902 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.112e-05/0.6803, allocations: 169.1 kB / 0.7903 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.6804, allocations: 75.28 kB / 0.7904 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.6804, allocations: 113.8 kB / 0.7905 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6804, allocations: 3.938 kB / 0.7905 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 6.996e-05/0.6805, allocations: 25.7 kB / 0.7905 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.6806, allocations: 126.7 kB / 0.7907 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.6807, allocations: 130.7 kB / 0.7908 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.6807, allocations: 29.7 kB / 0.7908 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.6808, allocations: 96.12 kB / 0.7909 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.6808, allocations: 0 / 0.7909 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.6808, allocations: 0 / 0.7909 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6809, allocations: 318.8 kB / 0.7912 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.6809, allocations: 8 kB / 0.7912 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.681, allocations: 4 kB / 0.7912 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.681, allocations: 8 kB / 0.7912 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.681, allocations: 0 / 0.7912 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001152/0.6811, allocations: 61.56 kB / 0.7913 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6811, allocations: 4 kB / 0.7913 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.6812, allocations: 4 kB / 0.7913 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6812, allocations: 0 / 0.7913 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.6812, allocations: 0 / 0.7913 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6812, allocations: 0 / 0.7913 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.6812, allocations: 8 kB / 0.7913 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6812, allocations: 4 kB / 0.7913 GB, free: 0.6523 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6813, allocations: 189.1 kB / 0.7915 GB, free: 468 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.6814, allocations: 112.9 kB / 0.7916 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.6815, allocations: 116.6 kB / 0.7917 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.29e-05/0.6815, allocations: 180.3 kB / 0.7919 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.4367/1.118, allocations: 178.4 kB / 0.792 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.533e-05/1.118, allocations: 179.6 kB / 0.7922 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/1.119, allocations: 411.5 kB / 0.7926 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.119, allocations: 105 kB / 0.7927 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/1.119, allocations: 107.3 kB / 0.7928 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.174e-05/1.119, allocations: 188 kB / 0.793 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/1.119, allocations: 179 kB / 0.7932 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.212e-05/1.119, allocations: 180.5 kB / 0.7933 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.831e-05/1.119, allocations: 180.5 kB / 0.7935 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.119, allocations: 316.4 kB / 0.7938 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/1.119, allocations: 188.5 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/1.119, allocations: 182.9 kB / 0.7942 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/1.119, allocations: 103.2 kB / 0.7943 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.119, allocations: 188.8 kB / 0.7944 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/1.119, allocations: 105.6 kB / 0.7945 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001272/1.12, allocations: 103.2 kB / 0.7946 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.11e-07/1.12, allocations: 3.344 kB / 0.7946 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00183/1.121, allocations: 321.5 kB / 0.7949 GB, free: 131.5 MB / 0.5573 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 (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.001388/1.123, allocations: 0.5395 MB / 0.7955 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.123, allocations: 43.44 kB / 0.7955 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.123, allocations: 0 / 0.7955 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/1.123, allocations: 0.8438 kB / 0.7955 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/1.123, allocations: 0.5274 MB / 0.796 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/1.124, allocations: 257 kB / 0.7963 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.124, allocations: 0.6858 MB / 0.7969 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.505e-05/1.124, allocations: 1.172 kB / 0.7969 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/1.124, allocations: 16.27 kB / 0.797 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/1.124, allocations: 0 / 0.797 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01136/1.135, allocations: 5.226 MB / 0.8021 GB, free: 129.5 MB / 0.5573 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)