Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001301/0.001301, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7686/0.7686, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.5068 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002477/0.3689, allocations: 1.426 MB / 0.5872 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.3726, allocations: 2.873 MB / 0.59 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.3726, allocations: 0 / 0.59 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3727, allocations: 7.922 kB / 0.59 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3728, allocations: 20.95 kB / 0.59 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.3756, allocations: 1.578 MB / 0.5916 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.3757, allocations: 43.67 kB / 0.5916 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.3757, allocations: 4 kB / 0.5916 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.3757, allocations: 16.88 kB / 0.5917 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.3758, allocations: 23.91 kB / 0.5917 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3758, allocations: 0 / 0.5917 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3774, allocations: 1.518 MB / 0.5932 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3774, allocations: 7.938 kB / 0.5932 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.3774, allocations: 30.25 kB / 0.5932 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009451/0.3784, allocations: 1.089 MB / 0.5943 GB, free: 17.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3784, allocations: 0 / 0.5943 GB, free: 17.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3784, allocations: 0 / 0.5943 GB, free: 17.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3784, allocations: 0 / 0.5943 GB, free: 17.92 MB / 446.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.0003923/0.3788, allocations: 0.5231 MB / 0.5948 GB, free: 17.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.3788, allocations: 8.031 kB / 0.5948 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.3789, allocations: 85.09 kB / 0.5949 GB, free: 17.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.379, allocations: 251.5 kB / 0.5951 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.379, allocations: 156 kB / 0.5952 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.379, allocations: 156.1 kB / 0.5954 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.232e-05/0.3791, allocations: 108.9 kB / 0.5955 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3791, allocations: 77 kB / 0.5956 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3791, allocations: 150.6 kB / 0.5957 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.3792, allocations: 150.6 kB / 0.5959 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.3792, allocations: 153.8 kB / 0.596 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3794, allocations: 465.9 kB / 0.5965 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.165e-05/0.3794, allocations: 173 kB / 0.5966 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3795, allocations: 85.61 kB / 0.5967 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3795, allocations: 79.28 kB / 0.5968 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.3795, allocations: 106.9 kB / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3795, allocations: 1.125 kB / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.179e-05/0.3796, allocations: 33.61 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3796, allocations: 127.5 kB / 0.597 GB, free: 14.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.3797, allocations: 134.2 kB / 0.5972 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.3797, allocations: 29.64 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.3797, allocations: 92.12 kB / 0.5973 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3797, allocations: 0 / 0.5973 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.3798, allocations: 17.72 kB / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.3798, allocations: 327.5 kB / 0.5976 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.3799, allocations: 0 / 0.5976 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.3799, allocations: 5.156 kB / 0.5976 GB, free: 14.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.3799, allocations: 16.86 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3799, allocations: 5.562 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.38, allocations: 61.64 kB / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.38, allocations: 7.938 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.3801, allocations: 4 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3801, allocations: 1.469 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3801, allocations: 0 / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3801, allocations: 0 / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.3801, allocations: 3.938 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3801, allocations: 9.5 kB / 0.5977 GB, free: 14.17 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 4.529e-05/0.3802, allocations: 185.1 kB / 0.5979 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3802, allocations: 114.3 kB / 0.598 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.3803, allocations: 112.6 kB / 0.5981 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.3803, allocations: 181.6 kB / 0.5983 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.3803, allocations: 184.3 kB / 0.5985 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.3803, allocations: 186.5 kB / 0.5986 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3805, allocations: 421.1 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.3805, allocations: 101 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.3805, allocations: 105.6 kB / 0.5992 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.466e-05/0.3805, allocations: 177.9 kB / 0.5994 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3806, allocations: 184.2 kB / 0.5996 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.3806, allocations: 185.3 kB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.126e-05/0.3806, allocations: 176.3 kB / 0.5999 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.768e-05/0.3807, allocations: 313.5 kB / 0.6002 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.3807, allocations: 187.9 kB / 0.6004 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.3808, allocations: 180.2 kB / 0.6006 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.3808, allocations: 105 kB / 0.6007 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.3809, allocations: 181.3 kB / 0.6008 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3809, allocations: 101 kB / 0.6009 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.3809, allocations: 114.1 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3809, allocations: 0.5938 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.3814, allocations: 276.4 kB / 0.6013 GB, free: 10.27 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.0008079/0.3822, allocations: 0.5274 MB / 0.6018 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.3823, allocations: 45.64 kB / 0.6019 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3824, allocations: 1.938 kB / 0.6019 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3824, allocations: 0 / 0.6019 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3827, allocations: 476.4 kB / 0.6023 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.3829, allocations: 241.8 kB / 0.6026 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.651e-05/0.383, allocations: 0.6826 MB / 0.6032 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.142e-05/0.383, allocations: 4 kB / 0.6032 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-06/0.383, allocations: 7.438 kB / 0.6032 GB, free: 8.246 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.383, allocations: 0 / 0.6032 GB, free: 8.246 MB / 446.1 MB Notification: Performance of Templates: time 0.007184/0.3902, allocations: 5.599 MB / 0.6087 GB, free: 2.719 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)