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.001747/0.001747, allocations: 174.7 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.8832/0.8832, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.445/1.445, allocations: 221.3 MB / 396.8 MB, free: 9.102 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.0008549/0.0008548, allocations: 93.36 kB / 478.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 5.297 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1651, allocations: 81.59 MB / 0.6348 GB, free: 11.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5737/0.7388, allocations: 132 MB / 0.7637 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.7391, allocations: 119.4 kB / 0.7638 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04109/0.7802, allocations: 15.36 MB / 0.7788 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7803, allocations: 0 / 0.7788 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.7803, allocations: 0 / 0.7788 GB, free: 15.95 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.0009238/0.7812, allocations: 0.5483 MB / 0.7793 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7813, allocations: 8.031 kB / 0.7793 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.7813, allocations: 91.08 kB / 0.7794 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.7815, allocations: 247.5 kB / 0.7797 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.7816, allocations: 150.6 kB / 0.7798 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.7817, allocations: 154.5 kB / 0.7799 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.804e-05/0.7817, allocations: 108.9 kB / 0.7801 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.7818, allocations: 79.28 kB / 0.7801 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.7818, allocations: 154.5 kB / 0.7803 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.7819, allocations: 154.6 kB / 0.7804 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.782, allocations: 154.5 kB / 0.7806 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.7823, allocations: 471.8 kB / 0.781 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.7824, allocations: 165.1 kB / 0.7812 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.7825, allocations: 84.14 kB / 0.7813 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.7825, allocations: 75.28 kB / 0.7813 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.7826, allocations: 109.8 kB / 0.7814 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7826, allocations: 0 / 0.7814 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.7827, allocations: 37.23 kB / 0.7815 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.7827, allocations: 130.7 kB / 0.7816 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7829, allocations: 121.1 kB / 0.7817 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.7829, allocations: 29.7 kB / 0.7817 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.783, allocations: 90.36 kB / 0.7818 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.783, allocations: 0 / 0.7818 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.783, allocations: 0 / 0.7818 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7831, allocations: 325.8 kB / 0.7821 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.7832, allocations: 7.125 kB / 0.7821 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.7832, allocations: 4 kB / 0.7821 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.7832, allocations: 11.16 kB / 0.7822 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7832, allocations: 0 / 0.7822 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.7834, allocations: 44.77 kB / 0.7822 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.7834, allocations: 8 kB / 0.7822 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.7834, allocations: 0 / 0.7822 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7834, allocations: 4 kB / 0.7822 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.7834, allocations: 3.984 kB / 0.7822 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7834, allocations: 0 / 0.7822 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.7835, allocations: 7.969 kB / 0.7822 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.7835, allocations: 0 / 0.7822 GB, free: 12.25 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 0.0001155/0.7836, allocations: 192 kB / 0.7824 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.7837, allocations: 104.9 kB / 0.7825 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.7837, allocations: 119.5 kB / 0.7826 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/0.7838, allocations: 184.4 kB / 0.7828 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.74e-05/0.7839, allocations: 180.2 kB / 0.783 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-05/0.784, allocations: 180.3 kB / 0.7831 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.7842, allocations: 415.5 kB / 0.7835 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.7843, allocations: 116.2 kB / 0.7836 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.7843, allocations: 105 kB / 0.7837 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-05/0.7844, allocations: 180.2 kB / 0.7839 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/0.7845, allocations: 176.3 kB / 0.7841 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-05/0.7846, allocations: 188.2 kB / 0.7843 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.073e-05/0.7847, allocations: 180.2 kB / 0.7844 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.7849, allocations: 311 kB / 0.7847 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.785, allocations: 186 kB / 0.7849 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.7851, allocations: 183.4 kB / 0.7851 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.7852, allocations: 109.9 kB / 0.7852 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/0.7853, allocations: 176.3 kB / 0.7854 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.7853, allocations: 108.9 kB / 0.7855 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.7854, allocations: 104.7 kB / 0.7856 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7854, allocations: 0 / 0.7856 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00123/0.7867, allocations: 324 kB / 0.7859 GB, free: 8.336 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.001105/0.7878, allocations: 0.5517 MB / 0.7864 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.823e-05/0.7879, allocations: 37.3 kB / 0.7864 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7879, allocations: 0 / 0.7864 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-06/0.7879, allocations: 4 kB / 0.7864 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.7883, allocations: 0.5289 MB / 0.787 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.7885, allocations: 148.3 kB / 0.7871 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.7888, allocations: 0.6848 MB / 0.7878 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.7888, allocations: 7.938 kB / 0.7878 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.053e-05/0.7888, allocations: 7.438 kB / 0.7878 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.7888, allocations: 0 / 0.7878 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.009515/0.7983, allocations: 5.3 MB / 0.793 GB, free: 1.078 MB / 0.5105 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)