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.001201/0.001201, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001263/0.001263, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.5068 GB, free: 7.605 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3013, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002165/0.3035, allocations: 1.428 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3066, allocations: 2.871 MB / 0.59 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3067, allocations: 2.125 kB / 0.59 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.3067, allocations: 7.922 kB / 0.59 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.3068, allocations: 18.08 kB / 0.59 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.3094, allocations: 1.588 MB / 0.5916 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.3095, allocations: 43.66 kB / 0.5916 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.3095, allocations: 9.562 kB / 0.5916 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.3096, allocations: 11.94 kB / 0.5917 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.224e-05/0.3096, allocations: 15.92 kB / 0.5917 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.3096, allocations: 0 / 0.5917 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.311, allocations: 1.524 MB / 0.5932 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.311, allocations: 11.94 kB / 0.5932 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.3111, allocations: 19.86 kB / 0.5932 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.312, allocations: 1.089 MB / 0.5943 GB, free: 17.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.312, allocations: 0 / 0.5943 GB, free: 17.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.312, allocations: 0 / 0.5943 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.312, allocations: 1.781 kB / 0.5943 GB, free: 17.93 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.0003704/0.3124, allocations: 0.5223 MB / 0.5948 GB, free: 17.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.3124, allocations: 8.031 kB / 0.5948 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3125, allocations: 88.64 kB / 0.5949 GB, free: 17.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.3126, allocations: 252.1 kB / 0.5951 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3126, allocations: 151.6 kB / 0.5952 GB, free: 16.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3126, allocations: 157 kB / 0.5954 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.463e-05/0.3127, allocations: 108.9 kB / 0.5955 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3127, allocations: 75.28 kB / 0.5956 GB, free: 16.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3127, allocations: 155.7 kB / 0.5957 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.3127, allocations: 150.6 kB / 0.5959 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.3127, allocations: 152.1 kB / 0.596 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3129, allocations: 463 kB / 0.5964 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.3129, allocations: 174.8 kB / 0.5966 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.313, allocations: 84.12 kB / 0.5967 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.313, allocations: 79.28 kB / 0.5968 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.313, allocations: 111.4 kB / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.313, allocations: 0 / 0.5969 GB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.656e-05/0.3131, allocations: 38.7 kB / 0.5969 GB, free: 15.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3131, allocations: 134.6 kB / 0.597 GB, free: 14.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.3132, allocations: 128.8 kB / 0.5972 GB, free: 14.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.3132, allocations: 25.7 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.3132, allocations: 97.19 kB / 0.5973 GB, free: 14.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3132, allocations: 0 / 0.5973 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3133, allocations: 15.28 kB / 0.5973 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.3133, allocations: 322.8 kB / 0.5976 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3133, allocations: 0 / 0.5976 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.3133, allocations: 9.625 kB / 0.5976 GB, free: 14.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.3134, allocations: 16.86 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3134, allocations: 7.875 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.343e-05/0.3135, allocations: 49.61 kB / 0.5977 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.3135, allocations: 5.25 kB / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3135, allocations: 11.92 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.3135, allocations: 0 / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3135, allocations: 1.469 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3136, allocations: 0 / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.3136, allocations: 3.938 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3136, allocations: 4 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 5.118e-05/0.3136, allocations: 186.2 kB / 0.5979 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3137, allocations: 109.5 kB / 0.598 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.3137, allocations: 122.9 kB / 0.5981 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.3137, allocations: 176.3 kB / 0.5983 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.3138, allocations: 184.3 kB / 0.5984 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.3138, allocations: 184.9 kB / 0.5986 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3139, allocations: 421.8 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.3139, allocations: 105.9 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.314, allocations: 101.5 kB / 0.5992 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.314, allocations: 177.7 kB / 0.5994 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.314, allocations: 184.2 kB / 0.5996 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/0.314, allocations: 178.6 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/0.314, allocations: 188.2 kB / 0.5999 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.576e-05/0.3141, allocations: 308.4 kB / 0.6002 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.3141, allocations: 187.1 kB / 0.6004 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3142, allocations: 180.8 kB / 0.6006 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.3142, allocations: 118.3 kB / 0.6007 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.3143, allocations: 180.3 kB / 0.6008 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3143, allocations: 103.1 kB / 0.6009 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.3143, allocations: 101.5 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3143, allocations: 3.938 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.3148, allocations: 279.8 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.0007749/0.3156, allocations: 0.5284 MB / 0.6018 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.3157, allocations: 46.69 kB / 0.6019 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3157, allocations: 0 / 0.6019 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3157, allocations: 4.438 kB / 0.6019 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.316, allocations: 469.2 kB / 0.6023 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.3162, allocations: 237.6 kB / 0.6026 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.3163, allocations: 0.6823 MB / 0.6032 GB, free: 8.258 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.3163, 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.344e-06/0.3163, allocations: 12.88 kB / 0.6032 GB, free: 8.242 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3163, allocations: 0 / 0.6032 GB, free: 8.242 MB / 446.1 MB Notification: Performance of Templates: time 0.006908/0.3232, allocations: 5.603 MB / 0.6087 GB, free: 2.715 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)