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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7101/0.7101, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.27 kB / 0.5018 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 80.2 MB / 0.5801 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002588/0.3592, allocations: 1.425 MB / 0.5815 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.3627, allocations: 2.88 MB / 0.5844 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3628, allocations: 0 / 0.5844 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3629, allocations: 5.953 kB / 0.5844 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.3629, allocations: 16.09 kB / 0.5844 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.3664, allocations: 1.564 MB / 0.5859 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.3665, allocations: 49.2 kB / 0.5859 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.3665, allocations: 5.984 kB / 0.586 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.3666, allocations: 20.59 kB / 0.586 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.3666, allocations: 13.66 kB / 0.586 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3666, allocations: 1.438 kB / 0.586 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3687, allocations: 1.46 MB / 0.5874 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3688, allocations: 5.609 kB / 0.5874 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.3688, allocations: 20.53 kB / 0.5874 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3707, allocations: 1.088 MB / 0.5885 GB, free: 288 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3707, allocations: 0.8438 kB / 0.5885 GB, free: 288 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3707, allocations: 9.25 kB / 0.5885 GB, free: 280 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3707, allocations: 4 kB / 0.5885 GB, free: 276 kB / 430.1 MB 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.000786/0.3715, allocations: 0.5169 MB / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3715, allocations: 10.23 kB / 0.589 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.3716, allocations: 82.47 kB / 0.5891 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3717, allocations: 253.2 kB / 0.5893 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.3718, allocations: 156.4 kB / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.3718, allocations: 163.3 kB / 0.5897 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.668e-05/0.3719, allocations: 101.6 kB / 0.5898 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3719, allocations: 76.59 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.372, allocations: 151.7 kB / 0.59 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.372, allocations: 150.6 kB / 0.5901 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.372, allocations: 156.5 kB / 0.5903 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.3723, allocations: 469 kB / 0.5907 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.3724, allocations: 170 kB / 0.5909 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.3724, allocations: 81.64 kB / 0.5909 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3724, allocations: 79.28 kB / 0.591 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3725, allocations: 115.4 kB / 0.5911 GB, free: 13.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3725, allocations: 1.062 kB / 0.5911 GB, free: 13.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.564e-05/0.3726, allocations: 32.86 kB / 0.5912 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3726, allocations: 126.7 kB / 0.5913 GB, free: 13.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3727, allocations: 134.3 kB / 0.5914 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3728, allocations: 27.08 kB / 0.5914 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.3728, allocations: 91.89 kB / 0.5915 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3728, allocations: 4 kB / 0.5915 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3729, allocations: 21.17 kB / 0.5916 GB, free: 13.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.3729, allocations: 318.1 kB / 0.5919 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.373, allocations: 3.359 kB / 0.5919 GB, free: 12.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.373, allocations: 4.344 kB / 0.5919 GB, free: 12.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.373, allocations: 19.52 kB / 0.5919 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.373, allocations: 3.938 kB / 0.5919 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.3732, allocations: 50.75 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3732, allocations: 5 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.3732, allocations: 7.516 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3732, allocations: 0.6562 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.3732, allocations: 1.219 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3732, allocations: 0.5625 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.3733, allocations: 5.281 kB / 0.592 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3733, allocations: 1.562 kB / 0.592 GB, free: 12.72 MB / 446.1 MB 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 8.021e-05/0.3734, allocations: 187.9 kB / 0.5921 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3734, allocations: 115.9 kB / 0.5922 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.3735, allocations: 112.6 kB / 0.5924 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/0.3735, allocations: 182.2 kB / 0.5925 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.045e-05/0.3736, allocations: 186.2 kB / 0.5927 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-05/0.3736, allocations: 182.3 kB / 0.5929 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3738, allocations: 420.7 kB / 0.5933 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.3739, allocations: 106.8 kB / 0.5934 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.3739, allocations: 106.5 kB / 0.5935 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.736e-05/0.374, allocations: 177.6 kB / 0.5937 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.374, allocations: 182 kB / 0.5938 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.943e-05/0.3741, allocations: 186.2 kB / 0.594 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.474e-05/0.3741, allocations: 177.3 kB / 0.5942 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3742, allocations: 319.4 kB / 0.5945 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.3743, allocations: 185.4 kB / 0.5947 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.3744, allocations: 182.3 kB / 0.5948 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.3744, allocations: 103 kB / 0.5949 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.3745, allocations: 185.5 kB / 0.5951 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3745, allocations: 103 kB / 0.5952 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.3746, allocations: 104 kB / 0.5953 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3746, allocations: 3.938 kB / 0.5953 GB, free: 9.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000997/0.3756, allocations: 277.4 kB / 0.5956 GB, free: 9.078 MB / 446.1 MB 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 (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.001043/0.3766, allocations: 0.5282 MB / 0.5961 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.86e-05/0.3767, allocations: 40.47 kB / 0.5961 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3768, allocations: 0 / 0.5961 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.3768, allocations: 3.938 kB / 0.5961 GB, free: 8.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3771, allocations: 474.5 kB / 0.5966 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.3775, allocations: 232 kB / 0.5968 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3777, allocations: 0.6864 MB / 0.5975 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.3777, allocations: 9.219 kB / 0.5975 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.3777, allocations: 9.531 kB / 0.5975 GB, free: 7.398 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3777, allocations: 0 / 0.5975 GB, free: 7.398 MB / 446.1 MB Notification: Performance of Templates: time 0.00917/0.3869, allocations: 5.625 MB / 0.603 GB, free: 4.906 MB / 446.1 MB 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)