Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005903/0.005903, allocations: 169.6 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.7983/0.7983, allocations: 132.3 MB / 148.1 MB, free: 220 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.519/1.519, allocations: 223.2 MB / 403.2 MB, free: 6.727 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.0009684/0.0009683, allocations: 100.4 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003941, allocations: 8 kB / 0.5641 GB, free: 2.027 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.507, allocations: 81.59 MB / 0.6438 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.6931, allocations: 132 MB / 0.7727 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.6935, allocations: 130 kB / 0.7729 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04678/0.7403, allocations: 15.42 MB / 0.7879 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.499e-06/0.7404, allocations: 0 / 0.7879 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7404, allocations: 7.938 kB / 0.7879 GB, free: 4.246 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.001077/0.7415, allocations: 0.5652 MB / 0.7885 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.7415, allocations: 12.03 kB / 0.7885 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.7416, allocations: 83.14 kB / 0.7886 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.7418, allocations: 252.5 kB / 0.7888 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.7419, allocations: 150.6 kB / 0.789 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.7419, allocations: 154.6 kB / 0.7891 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.645e-05/0.742, allocations: 109 kB / 0.7892 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.742, allocations: 75.28 kB / 0.7893 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.7421, allocations: 150.6 kB / 0.7894 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/0.7422, allocations: 150.6 kB / 0.7896 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.7423, allocations: 158.5 kB / 0.7897 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.7426, allocations: 473.8 kB / 0.7902 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.7427, allocations: 169.1 kB / 0.7903 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.7427, allocations: 75.28 kB / 0.7904 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.7428, allocations: 105.8 kB / 0.7905 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7428, allocations: 3.938 kB / 0.7905 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.388e-05/0.7429, allocations: 37.64 kB / 0.7906 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.743, allocations: 126.7 kB / 0.7907 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7431, allocations: 121.1 kB / 0.7908 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7431, allocations: 25.7 kB / 0.7908 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.7432, allocations: 96.12 kB / 0.7909 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.7432, allocations: 0 / 0.7909 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.7432, allocations: 0 / 0.7909 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7434, allocations: 322.8 kB / 0.7912 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.7434, allocations: 4 kB / 0.7912 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.7434, allocations: 4 kB / 0.7912 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.7435, allocations: 15.92 kB / 0.7912 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7435, allocations: 0 / 0.7912 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000126/0.7436, allocations: 53.55 kB / 0.7913 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7436, allocations: 5.719 kB / 0.7913 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.7436, allocations: 4.062 kB / 0.7913 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7437, allocations: 4 kB / 0.7913 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.7437, allocations: 0 / 0.7913 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7437, allocations: 0 / 0.7913 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.7437, allocations: 12 kB / 0.7913 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.7437, allocations: 0 / 0.7913 GB, free: 0.5664 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.00012/0.7439, allocations: 189.1 kB / 0.7915 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.7439, allocations: 112.9 kB / 0.7916 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.744, allocations: 116.6 kB / 0.7917 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4484/1.192, allocations: 176.3 kB / 0.7919 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/1.192, allocations: 182.9 kB / 0.7921 GB, free: 134 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/1.192, allocations: 176.8 kB / 0.7922 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/1.193, allocations: 415.6 kB / 0.7926 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.193, allocations: 104.2 kB / 0.7927 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/1.193, allocations: 104.5 kB / 0.7928 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.178e-05/1.193, allocations: 190.4 kB / 0.793 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/1.193, allocations: 178.3 kB / 0.7932 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.113e-05/1.193, allocations: 181.8 kB / 0.7933 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-05/1.193, allocations: 179 kB / 0.7935 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.893e-05/1.193, allocations: 311.3 kB / 0.7938 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/1.193, allocations: 189.2 kB / 0.794 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/1.193, allocations: 186.5 kB / 0.7942 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/1.193, allocations: 111 kB / 0.7943 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/1.193, allocations: 179.4 kB / 0.7944 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.193, allocations: 106.2 kB / 0.7945 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.986e-05/1.193, allocations: 98.52 kB / 0.7946 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.193, allocations: 0.75 kB / 0.7946 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001411/1.195, allocations: 321.4 kB / 0.7949 GB, free: 131.3 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.001266/1.196, allocations: 0.5405 MB / 0.7955 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.196, allocations: 43.34 kB / 0.7955 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.196, allocations: 5.531 kB / 0.7955 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/1.196, allocations: 0 / 0.7955 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.196, allocations: 0.5232 MB / 0.796 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/1.197, allocations: 261.1 kB / 0.7963 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/1.197, allocations: 0.6858 MB / 0.7969 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.359e-05/1.197, allocations: 4.625 kB / 0.797 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/1.197, allocations: 9.25 kB / 0.797 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/1.197, allocations: 3.406 kB / 0.797 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.01121/1.208, allocations: 5.228 MB / 0.8021 GB, free: 129.4 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)